java.lang.Object
|
+--Group
|
+--MilitaryGroup
Jon Havstad Jesse Eyerman
| Field Summary |
| Fields inherited from class Group |
environ, planet, side, type, units |
| Constructor Summary | |
MilitaryGroup(char s)
Constructor Method |
|
| Method Summary | |
void |
Janitor(int index)
Moves eliminated units to the Underworld and modifies Stack |
int |
MilitaryCombat(MilitaryGroup attacker)
Military vs. |
int |
RakeAttack(int PDB_level)
PDB vs Military Combat returns 0 if Military stack survives 1 if Military stack eliminated |
int |
TotalCombatStrength()
Sums up the total strength of the combat units in the military strength unit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MilitaryGroup(char s)
| Method Detail |
public int MilitaryCombat(MilitaryGroup attacker)
public int TotalCombatStrength()
public void Janitor(int index)
public int RakeAttack(int PDB_level)