public class ComboStarted extends InfoMessage implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected long |
SimTime |
protected String |
Type
Holds the class name of the desired adrenaline combo (can be
xGame.ComboBerserk, xGame.ComboDefensive, xGame.ComboInvis
or xGame.ComboSpeed).
|
| Constructor and Description |
|---|
ComboStarted()
Parameter-less contructor for the message.
|
ComboStarted(ComboStarted original)
Cloning constructor from the full message.
|
ComboStarted(String Type)
Creates new instance of the message ComboStarted.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSimTime()
Simulation time in MILLI SECONDS !!!
|
String |
getType()
Holds the class name of the desired adrenaline combo (can be
xGame.ComboBerserk, xGame.ComboDefensive, xGame.ComboInvis
or xGame.ComboSpeed).
|
protected void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toJsonLiteral() |
String |
toString() |
public static final String PROTOTYPE
protected long SimTime
protected String Type
public ComboStarted()
public ComboStarted(String Type)
Type - Holds the class name of the desired adrenaline combo (can be
xGame.ComboBerserk, xGame.ComboDefensive, xGame.ComboInvis
or xGame.ComboSpeed).public ComboStarted(ComboStarted original)
original - public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventprotected void setSimTime(long SimTime)
public String getType()
public String toString()
toString in class InfoMessagepublic String toHtmlString()
public String toJsonLiteral()
toJsonLiteral in class InfoMessageCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.