|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrl.common.game.GameSide
rl.centurion.game.CenturionGameSide
public class CenturionGameSide
This class represents the 'teams' playing the game of Centurion
| Field Summary | |
|---|---|
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
CenturionGameSide()
|
|
CenturionGameSide(java.lang.String name)
Constructs a side with a name other than the default |
|
| Method Summary | |
|---|---|
Commander |
getCommander()
|
java.util.Vector<Commander> |
getCommanders()
Cycles through all of the units and collects every commander. |
int |
getCommandPointAdvantage()
|
void |
setCommander(Commander commander)
Sets the overall commander of the side. |
void |
setCommandPointAdvantage(int advantage)
Sets the number of points this side enjoys a Command Point Advantage by |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
| Constructor Detail |
|---|
public CenturionGameSide()
public CenturionGameSide(java.lang.String name)
name - Name of the side| Method Detail |
|---|
public void setCommander(Commander commander)
commander - public Commander getCommander()
public void setCommandPointAdvantage(int advantage)
advantage - public int getCommandPointAdvantage()
public java.util.Vector<Commander> getCommanders()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||