public class ShootingStarted extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
Alt
Whether using the alternate firing mode.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSimTime() |
boolean |
isAlt()
Whether using the alternate firing mode.
|
String |
toHtmlString() |
String |
toString() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected boolean Alt
public ShootingStarted(boolean Alt)
Alt - Whether using the alternate firing mode.public ShootingStarted(ShootingStarted original)
public ShootingStarted()
public boolean isAlt()
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.