|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.udk.communication.messages.GBEvent cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.ZoneChangedBot
public class ZoneChangedBot
Asynchronous message. Bot changed zones. Entire bot now in new zone. Corresponding GameBots message is ZCB.
Field Summary | |
---|---|
protected String |
Id
Id of a zone entered. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
ZoneChangedBot()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package). |
|
ZoneChangedBot(String Id)
Creates new instance of command ZoneChangedBot. |
|
ZoneChangedBot(ZoneChangedBot original)
Cloning constructor. |
Method Summary | |
---|---|
String |
getId()
Id of a zone entered. |
long |
getSimTime()
|
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.udk.communication.messages.GBEvent |
---|
getWorldEvent |
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
---|
toJsonLiteral |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROTOTYPE
protected String Id
Constructor Detail |
---|
public ZoneChangedBot(String Id)
Id
- Id of a zone entered.public ZoneChangedBot(ZoneChangedBot original)
public ZoneChangedBot()
Method Detail |
---|
public String getId()
public long getSimTime()
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
getSimTime
in class GBEvent
public String toString()
toString
in class InfoMessage
public String toHtmlString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |