|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGame
The Spellcast Game.
| Method Summary | |
|---|---|
void |
addWizard(IWizard w)
Add a wizard to the system. |
GameLog |
getGameLog()
Get the value of gameLog. |
java.util.List<IMonster> |
getMonsters()
The IMonsters currently in the arena. |
java.lang.String |
getName()
Return the game name. |
Turn |
getTurn()
Get the value of turn. |
java.util.List<IWizard> |
getWizards()
The IWizards currently in the arena. |
boolean |
hasFinished()
Returns whether the game has finished. |
boolean |
hasStarted()
Returns whether the game has started. |
void |
processTurn()
Process the current turn. |
void |
removeWizard(IWizard w)
Remove a wizard from the system. |
void |
setTurn(Turn theTurn)
Set the the curent turn for the game. |
| Method Detail |
|---|
java.lang.String getName()
Turn getTurn()
GameLog getGameLog()
java.util.List<IMonster> getMonsters()
IMonsters currently in the arena.
IMonsters currently in the arena.java.util.List<IWizard> getWizards()
IWizards currently in the arena.
IWizards currently in the arena.void setTurn(Turn theTurn)
theTurn - the curent turn for the gamevoid processTurn()
void addWizard(IWizard w)
w - Wizard to add to the game.void removeWizard(IWizard w)
w - Wizard to remove from the game.boolean hasStarted()
boolean hasFinished()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||