|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Player
| Method Summary | |
|---|---|
Log |
getLog()
Returns the current log |
java.lang.String |
getName()
Returns the name |
void |
initialise(WorldMap map,
int totalTurns)
Called at game initialisation, gives a world map |
void |
takeTurn(int turn,
Country[] countries)
Called for a player to make a turn. |
void |
turnTimedOut(int turn)
Called if the current turn has timedout |
| Method Detail |
|---|
void initialise(WorldMap map,
int totalTurns)
map - the world maptotalTurns - the number of total turns the game has
void takeTurn(int turn,
Country[] countries)
turn - the current turn numbercountries - the countries owned by the platervoid turnTimedOut(int turn)
turn - the turn that ahas timed outLog getLog()
java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||