public class EndMessage 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
Time, when the message was sent - intern UT time.
|
Constructor and Description |
---|
EndMessage()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
|
EndMessage(double Time)
Creates new instance of command EndMessage.
|
EndMessage(EndMessage original)
Cloning constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getSimTime() |
double |
getTime()
Time, when the message was sent - intern UT time.
|
String |
toHtmlString() |
String |
toString() |
getWorldEvent
toJsonLiteral
public static final String PROTOTYPE
protected double Time
public EndMessage(double Time)
Time
- Time, when the message was sent - intern UT time.public EndMessage(EndMessage original)
public EndMessage()
public double getTime()
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()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.