|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.udk.communication.messages.GBEvent
cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.AdrenalineGained
public class AdrenalineGained
Asynchronous message. Whenever we get new adrenaline - by pickup or by killing someone. Corresponding GameBots message is ADG.
| Field Summary | |
|---|---|
protected int |
Amount
Amount of adrenaline gained. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
int |
getAmount()
Amount of adrenaline gained. |
long |
getSimTime()
|
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.udk.communication.messages.GBEvent |
|---|
getWorldEvent |
| Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
|---|
toJsonLiteral |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROTOTYPE
protected int Amount
| Constructor Detail |
|---|
public AdrenalineGained(int Amount)
Amount - Amount of adrenaline gained.public AdrenalineGained(AdrenalineGained original)
public AdrenalineGained()
| Method Detail |
|---|
public int getAmount()
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventgetSimTime in class GBEventpublic String toString()
toString in class InfoMessagepublic String toHtmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||