public class BeginMessage extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected double |
Time
Timestamp form the GameBots.
|
| Constructor and Description |
|---|
BeginMessage()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
|
BeginMessage(BeginMessage original)
Cloning constructor.
|
BeginMessage(double Time)
Creates new instance of command BeginMessage.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSimTime() |
double |
getTime()
Timestamp form the GameBots.
|
String |
toHtmlString() |
String |
toString() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected double Time
public BeginMessage(double Time)
Time - Timestamp form the GameBots.public BeginMessage(BeginMessage original)
public BeginMessage()
public double getTime()
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.