|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent cz.cuni.amis.pogamut.defcon.communication.messages.infos.GameRunningChanged
public class GameRunningChanged
Sent whenever the DefCon game begins (game switches to the map and unit-placing phase begins) or stops.
Constructor Summary | |
---|---|
GameRunningChanged(Boolean running,
double time)
Creates new instance of message GameRunningChanged. |
Method Summary | |
---|---|
Boolean |
getRunning()
Is game running? |
String |
toHtmlString()
Returns message in html format. |
String |
toString()
Returns human readable serialization of the message. |
Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent |
---|
getSimTime, getStringizedFields, getTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GameRunningChanged(Boolean running, double time)
running
- Is game running?time
- Method Detail |
---|
public Boolean getRunning()
public String toString()
toString
in class Object
public String toHtmlString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |