|
|||||||||
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.ut2004.communication.messages.gbinfomessages.Trigger
public class Trigger
Definition of the event TRG.
Complete message documentation: Asynchronous message. When we trigger some trigger. TODO: Experiment message.
Field Summary | |
---|---|
protected java.lang.String |
Actor
Should be the trigger we have triggered. |
protected UnrealId |
EventInstigator
Should be the Id of the player who triggered this (ourself?). |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected long |
SimTime
|
Constructor Summary | |
---|---|
Trigger()
Parameter-less contructor for the message. |
|
Trigger(java.lang.String Actor,
UnrealId EventInstigator)
Creates new instance of the message Trigger. |
|
Trigger(Trigger original)
Cloning constructor from the full message. |
Method Summary | |
---|---|
java.lang.String |
getActor()
Should be the trigger we have triggered. |
UnrealId |
getEventInstigator()
Should be the Id of the player who triggered this (ourself?). |
long |
getSimTime()
Returns the simulation time when the event has occurred. |
protected void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected long SimTime
protected java.lang.String Actor
protected UnrealId EventInstigator
Constructor Detail |
---|
public Trigger()
public Trigger(java.lang.String Actor, UnrealId EventInstigator)
Actor
- Should be the trigger we have triggered.EventInstigator
- Should be the Id of the player who triggered this
(ourself?).public Trigger(Trigger original)
original
- Method Detail |
---|
public long getSimTime()
IWorldEvent
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
protected void setSimTime(long SimTime)
public java.lang.String getActor()
public UnrealId getEventInstigator()
public java.lang.String toString()
toString
in class InfoMessage
public java.lang.String toHtmlString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |