Skip navigation links
A B C E G I M O P R S T V 

C

captureInvaders(ArrayList<Martian>) - Method in class MartianManager
Adds all invaders to this MartianManager that have power greater than the average power of all Martians in this MartianManager.
compareTo(Martian) - Method in class Martian
Implements Java's compareTo so that Martians (either red or green) are compared based on their id's which results in the usual ascending sorted order.
contains(int) - Method in class MartianManager
Returns true if martians contains a Martian with id and false otherwise.
A B C E G I M O P R S T V 
Skip navigation links