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