|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectru.ifmo.knim.main.GamePlay
Something that aggregates gameInfo and modelEngine.
Constructor Summary | |
GamePlay()
Default constructor |
Method Summary | |
void |
aiStartup()
Starts AI automata to process current situation |
GameInfo |
getGameInfo()
Gets game information |
static GamePlay |
getGamePlay()
Returns singleton object |
void |
init(com.evelopers.unimod.runtime.ModelEngine modelEngine)
Initializes singleton object |
void |
resendMove(MoveResult move)
Resends specifired move data |
void |
restart()
Restarts game |
void |
sendSafeMove()
Computes and makes move using the safe strategy |
void |
sendUnsafeMove()
Computes and makes move using the unsafe strategy |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GamePlay()
Method Detail |
public void init(com.evelopers.unimod.runtime.ModelEngine modelEngine)
modelEngine
- public static GamePlay getGamePlay()
public GameInfo getGameInfo()
public void restart()
public void aiStartup()
public void sendSafeMove()
public void resendMove(MoveResult move)
public void sendUnsafeMove()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |