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