|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.udk.communication.messages.GBEvent cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.ShootingStarted
public class ShootingStarted
Asynchronous message. Sent when the observed player starts shooting. Corresponding GameBots message is SHOOT.
Field Summary | |
---|---|
protected boolean |
Alt
Whether using the alternate firing mode. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
ShootingStarted()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package). |
|
ShootingStarted(boolean Alt)
Creates new instance of command ShootingStarted. |
|
ShootingStarted(ShootingStarted original)
Cloning constructor. |
Method Summary | |
---|---|
long |
getSimTime()
|
boolean |
isAlt()
Whether using the alternate firing mode. |
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 boolean Alt
Constructor Detail |
---|
public ShootingStarted(boolean Alt)
Alt
- Whether using the alternate firing mode.public ShootingStarted(ShootingStarted original)
public ShootingStarted()
Method Detail |
---|
public boolean isAlt()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |