java.lang.Object
|
+--Group
|
+--CharacterGroup
| Field Summary | |
protected java.util.Vector |
starships
|
| Fields inherited from class Group |
environ, planet, side, type, units |
| Constructor Summary | |
CharacterGroup(char s)
|
|
| Method Summary | |
void |
addSpaceship(Spaceship s)
adds a Spaceship to the vector |
int |
CharCombat(CharacterGroup att)
General Character vs. |
protected int |
CharGroupStrength()
|
java.util.Vector |
getStarships()
MS team needs to know which spaceships are in a given environ returns a vector of spacships |
int |
MonsterCombat()
Monster Attack chars: Group being attacked returns 0 if characters survive, 1 if characters die |
void |
removeSpaceship(Spaceship s)
removes a Spaceship from the vector |
int |
SquadCombat(MilitaryGroup att)
Military vs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Vector starships
| Constructor Detail |
public CharacterGroup(char s)
| Method Detail |
public java.util.Vector getStarships()
public void addSpaceship(Spaceship s)
public void removeSpaceship(Spaceship s)
public int CharCombat(CharacterGroup att)
public int MonsterCombat()
public int SquadCombat(MilitaryGroup att)
protected int CharGroupStrength()