public class TriggerUsed extends GBEvent implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected boolean |
Success
Whether the object was succesfully used
|
protected UnrealId |
Target
ID of the actor that was used.
|
| Constructor and Description |
|---|
TriggerUsed()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
|
TriggerUsed(boolean Success,
UnrealId Target)
Creates new instance of command TriggerUsed.
|
TriggerUsed(TriggerUsed original)
Cloning constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSimTime() |
UnrealId |
getTarget()
ID of the actor that was used.
|
boolean |
isSuccess()
Whether the object was succesfully used
|
String |
toHtmlString() |
String |
toString() |
getWorldEventtoJsonLiteralpublic static final String PROTOTYPE
protected boolean Success
protected UnrealId Target
public TriggerUsed(boolean Success,
UnrealId Target)
Success - Whether the object was succesfully usedTarget - ID of the actor that was used.public TriggerUsed(TriggerUsed original)
public TriggerUsed()
public boolean isSuccess()
public UnrealId getTarget()
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.