public class ZoneChangedBot extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
protected String |
Id
Id of a zone entered.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Id of a zone entered.
|
long |
getSimTime() |
String |
toHtmlString() |
String |
toString() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected String Id
public ZoneChangedBot(String Id)
Id - Id of a zone entered.public ZoneChangedBot(ZoneChangedBot original)
public ZoneChangedBot()
public String getId()
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventgetSimTime in class GBEventpublic String toString()
toString in class InfoMessagepublic String toHtmlString()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.