|
||||||||||
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.FlagInfoLocal cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocalImpl
public class FlagInfoLocalImpl
Implementation of the local part of the GameBots2004 message FLG.
Complete message documentation: Synchronous message. FlagInfo contains all info about the flag in the CTF game mode. Is not sent in other game types.
Nested Class Summary | |
---|---|
static class |
FlagInfoLocalImpl.FlagInfoLocalUpdate
|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocal |
---|
FlagInfoLocal.ObjectDisappeared |
Field Summary | |
---|---|
protected UnrealId |
Id
An unique Id for this flag, assigned by the game. |
protected boolean |
Visible
True if the bot can see the flag. |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocal |
---|
SimTime |
Constructor Summary | |
---|---|
FlagInfoLocalImpl()
Parameter-less contructor for the message. |
|
FlagInfoLocalImpl(FlagInfo original)
Cloning constructor from the full message. |
|
FlagInfoLocalImpl(FlagInfoLocal original)
Cloning constructor from the message part. |
|
FlagInfoLocalImpl(FlagInfoLocalImpl original)
Cloning constructor from the full message. |
|
FlagInfoLocalImpl(UnrealId Id,
boolean Visible)
Creates new instance of the message FlagInfo. |
Method Summary | |
---|---|
FlagInfoLocalImpl |
clone()
|
UnrealId |
getId()
An unique Id for this flag, assigned by the game. |
FlagInfoLocalImpl |
getLocal()
|
ISharedWorldObject |
getShared()
|
IStaticWorldObject |
getStatic()
|
boolean |
isVisible()
True if the bot can see the flag. |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocal |
---|
createDisappearEvent, getCompositeClass, getSimTime |
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
---|
toJsonLiteral |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected UnrealId Id
protected boolean Visible
Constructor Detail |
---|
public FlagInfoLocalImpl()
public FlagInfoLocalImpl(UnrealId Id, boolean Visible)
Id
- An unique Id for this flag, assigned by the game.Visible
- True if the bot can see the flag.public FlagInfoLocalImpl(FlagInfo original)
original
- public FlagInfoLocalImpl(FlagInfoLocalImpl original)
original
- public FlagInfoLocalImpl(FlagInfoLocal original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
FlagInfoLocal
setSimTime
in class FlagInfoLocal
public FlagInfoLocalImpl clone()
clone
in interface ILocalWorldObject
clone
in class FlagInfoLocal
public UnrealId getId()
getId
in interface IWorldObject
getId
in class FlagInfoLocal
public boolean isVisible()
isVisible
in interface ILocalViewable
isVisible
in class FlagInfoLocal
public FlagInfoLocalImpl getLocal()
getLocal
in class FlagInfoLocal
public ISharedWorldObject getShared()
getShared
in class FlagInfoLocal
public IStaticWorldObject getStatic()
getStatic
in class FlagInfoLocal
public String toString()
toString
in class FlagInfoLocal
public String toHtmlString()
toHtmlString
in class FlagInfoLocal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |