public class FlagInfoCompositeImpl extends FlagInfo
FlagInfo.FlagInfoUpdate, FlagInfo.ObjectDisappeared| Modifier and Type | Field and Description |
|---|---|
protected FlagInfoLocalImpl |
partLocal |
protected FlagInfoStaticImpl |
partStatic |
| Constructor and Description |
|---|
FlagInfoCompositeImpl()
Parameter-less contructor for the message.
|
FlagInfoCompositeImpl(FlagInfoCompositeImpl original)
Cloning constructor.
|
FlagInfoCompositeImpl(FlagInfoLocalImpl partLocal,
FlagInfoSharedImpl partShared,
FlagInfoStaticImpl partStatic)
Composite-impl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UnrealId |
getHolder()
Id of player/bot holding the flag.
|
UnrealId |
getId()
An unique Id for this flag, assigned by the game.
|
FlagInfoLocal |
getLocal() |
Location |
getLocation()
An absolute location of the flag (Sent if we can actually
see the flag).
|
FlagInfoShared |
getShared() |
String |
getState()
Represents the state the flag is in.
|
FlagInfoStatic |
getStatic() |
Integer |
getTeam()
The owner team of this flag.
|
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() |
createDisappearEvent, getSimTime, toJsonLiteralprotected FlagInfoStaticImpl partStatic
protected FlagInfoLocalImpl partLocal
public FlagInfoCompositeImpl()
public FlagInfoCompositeImpl(FlagInfoLocalImpl partLocal, FlagInfoSharedImpl partShared, FlagInfoStaticImpl partStatic)
partLocal - local-part of the messagepartShared - shared-part of the messagepartStatic - static-part of the messagepublic FlagInfoCompositeImpl(FlagInfoCompositeImpl original)
original - public void setSimTime(long SimTime)
FlagInfosetSimTime in class FlagInfopublic FlagInfoStatic getStatic()
public FlagInfoLocal getLocal()
public FlagInfoShared getShared()
public UnrealId getId()
FlagInfogetId in interface IWorldObjectgetId in class FlagInfopublic Location getLocation()
FlagInfogetLocation in class FlagInfopublic UnrealId getHolder()
FlagInfopublic Integer getTeam()
FlagInfopublic boolean isVisible()
FlagInfopublic String getState()
FlagInfopublic String toHtmlString()
toHtmlString in class FlagInfoCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.