|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGameState
Defines methods required by game states in the game framework. A game state stores all the data necessary to reproduce a particular game state.
Method Summary | |
---|---|
IAgentCollection |
getAgentCollection()
Return the agent collection. |
String |
getGameIdentifier()
Return the game identifier. |
ITokenCollection |
getTokenCollection()
Return the action collection. |
long |
getTurnNumber()
Return the turn number. |
void |
setAgentCollection(IAgentCollection agentCollection)
Set the agent collection. |
void |
setGameIdentifier(String gameIdentifier)
Set the game identifier. |
void |
setTokenCollection(ITokenCollection tokenCollection)
Set the token collection. |
void |
setTurnNumber(long turnNumber)
Set the turn number. |
Methods inherited from interface org.vizzini.util.IDocument |
---|
addDirtyListener, addFileListener, getFile, isDirty, isFileAssociated, isSaveable, open, removeDirtyListener, removeFileListener, reset, save, saveAs, setDirty, setFile |
Method Detail |
---|
void setAgentCollection(IAgentCollection agentCollection)
IAgentCollection getAgentCollection()
void setGameIdentifier(String gameIdentifier)
String getGameIdentifier()
void setTokenCollection(ITokenCollection tokenCollection)
ITokenCollection getTokenCollection()
void setTurnNumber(long turnNumber)
long getTurnNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |