public class AliveMessageMessage extends AliveMessage implements IWorldObjectUpdatedEvent, ICompositeWorldObjectUpdatedEvent
| Modifier and Type | Class and Description |
|---|---|
class |
AliveMessageMessage.AliveMessageLocalMessage
Implementation of the local part of the GameBots2004 message ALIVE, used
to facade ALIVEMessage.
|
class |
AliveMessageMessage.AliveMessageSharedMessage
Implementation of the shared part of the GameBots2004 message ALIVE, used
to facade ALIVEMessage.
|
class |
AliveMessageMessage.AliveMessageStaticMessage
Implementation of the static part of the GameBots2004 message ALIVE, used
to facade ALIVEMessage.
|
AliveMessage.AliveMessageUpdateIWorldObjectUpdatedEvent.DestroyWorldObject| Modifier and Type | Field and Description |
|---|---|
protected ITeamId |
TeamId |
protected double |
Time
Game time when this message was send.
|
protected boolean |
Time_Set
Whether property 'Time' was received from GB2004.
|
AliveMessageId, PROTOTYPE, SimTime| Constructor and Description |
|---|
AliveMessageMessage()
Parameter-less contructor for the message.
|
AliveMessageMessage(AliveMessageMessage original)
Cloning constructor from the full message.
|
AliveMessageMessage(double Time)
Creates new instance of the message AliveMessage.
|
| Modifier and Type | Method and Description |
|---|---|
UnrealId |
getId() |
AliveMessageLocal |
getLocal() |
ILocalWorldObjectUpdatedEvent |
getLocalEvent() |
AliveMessageShared |
getShared() |
ISharedWorldObjectUpdatedEvent |
getSharedEvent() |
AliveMessageStatic |
getStatic() |
IStaticWorldObjectUpdatedEvent |
getStaticEvent() |
ITeamId |
getTeamId() |
double |
getTime()
Game time when this message was send.
|
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId.
|
String |
toHtmlString() |
String |
toString() |
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object) |
getSimTime, setSimTime, toJsonLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSimTimeprotected ITeamId TeamId
protected double Time
protected boolean Time_Set
public AliveMessageMessage()
public AliveMessageMessage(double Time)
Time - Game time when this message was send.public AliveMessageMessage(AliveMessageMessage original)
original - public UnrealId getId()
getId in interface IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in interface ICompositeWorldObjectUpdatedEventgetId in class AliveMessageprotected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public double getTime()
AliveMessagegetTime in class AliveMessagepublic AliveMessageLocal getLocal()
getLocal in interface ICompositeWorldObjectpublic AliveMessageShared getShared()
getShared in interface ICompositeWorldObjectpublic AliveMessageStatic getStatic()
getStatic in interface ICompositeWorldObjectpublic IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update in interface IWorldObjectUpdatedEventpublic ILocalWorldObjectUpdatedEvent getLocalEvent()
getLocalEvent in interface ICompositeWorldObjectUpdatedEventpublic ISharedWorldObjectUpdatedEvent getSharedEvent()
getSharedEvent in interface ICompositeWorldObjectUpdatedEventpublic IStaticWorldObjectUpdatedEvent getStaticEvent()
getStaticEvent in interface ICompositeWorldObjectUpdatedEventpublic String toString()
toString in class AliveMessagepublic String toHtmlString()
toHtmlString in class AliveMessageCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.