|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--game.government.Civilizations
The static part of Civilization.java got too big, si\o it is now held here. This class is entirely static and contains all the static data and methods relating to the Civilization class.
| Constructor Summary | |
Civilizations()
|
|
| Method Summary | |
static void |
add(Civilization value)
Add a new civilization. |
static void |
assignColors()
Assign colours, after the player has picked one. |
static void |
carryOutOrders()
Carry out orders. |
static boolean |
gameEnded()
Check end of game. |
static Civilization |
get(java.lang.String civName)
Get a civilization given its name. |
static void |
issueOrders()
Issue orders for all civilizations. |
static java.util.Iterator |
iterator()
Iterator over all the civilizations. |
static void |
listBySquares(TaskForceList commandList)
Crete UnitsBySquare lists. |
static void |
newGame()
Empty the static list for a new game. |
static java.lang.Object |
select()
Select a civilization. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Civilizations()
| Method Detail |
public static java.util.Iterator iterator()
public static Civilization get(java.lang.String civName)
public static void issueOrders()
public static void carryOutOrders()
public static boolean gameEnded()
public static void listBySquares(TaskForceList commandList)
commandList - the list to add all the task forces to.public static java.lang.Object select()
public static void add(Civilization value)
public static void newGame()
public static void assignColors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||