|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent
cz.cuni.amis.pogamut.defcon.communication.messages.infos.GameSpeedChanged
public class GameSpeedChanged
Informs about change in game speed.
Constructor Summary | |
---|---|
GameSpeedChanged(GameSpeed oldSpeed,
GameSpeed newSpeed,
double time)
Creates new instance of message GameSpeedChanged. |
Method Summary | |
---|---|
GameSpeed |
getNewSpeed()
New speed. |
GameSpeed |
getOldSpeed()
Old speed. |
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 GameSpeedChanged(GameSpeed oldSpeed, GameSpeed newSpeed, double time)
oldSpeed
- Old speed.newSpeed
- New speed.time
- Method Detail |
---|
public GameSpeed getOldSpeed()
public GameSpeed getNewSpeed()
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 |