- RedMartian - Class in prob1
-
This class models a RedMartian which is a subclass of Martian
- RedMartian(int, int, int) - Constructor for class RedMartian
-
Creates a RedMartian with the specified id, volume, and tenacity.
- RedMartian(int, int) - Constructor for class RedMartian
-
Creates a RedMartian with the specified id and tenacity
and volume is set to 1.
- removeMartianAt(int) - Method in class MartianManager
-
Removes the Martian at index loc from martians and returns it.
- removeMartianWithId(int) - Method in class MartianManager
-
Removes the Martian with id from martians and returns it.