public class FlagInfoSharedImpl extends FlagInfoShared
Modifier and Type | Class and Description |
---|---|
static class |
FlagInfoSharedImpl.FlagInfoSharedUpdate |
Modifier and Type | Field and Description |
---|---|
protected UnrealId |
Id
An unique Id for this flag, assigned by the game.
|
protected UnrealIdProperty |
myHolder
Id of player/bot holding the flag.
|
protected LocationProperty |
myLocation
An absolute location of the flag (Sent if we can actually
see the flag).
|
protected StringProperty |
myState
Represents the state the flag is in.
|
protected IntegerProperty |
myTeam
The owner team of this flag.
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
HolderPropertyToken, LocationPropertyToken, SharedPropertyTokens, SimTime, StatePropertyToken, TeamPropertyToken
Constructor and Description |
---|
FlagInfoSharedImpl(FlagInfoSharedImpl source) |
FlagInfoSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties) |
Modifier and Type | Method and Description |
---|---|
FlagInfoSharedImpl |
clone() |
UnrealId |
getHolder()
Id of player/bot holding the flag.
|
UnrealId |
getId()
An unique Id for this flag, assigned by the game.
|
Location |
getLocation()
An absolute location of the flag (Sent if we can actually
see the flag).
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
String |
getState()
Represents the state the flag is in.
|
Integer |
getTeam()
The owner team of this flag.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime
toJsonLiteral
protected HashMap<PropertyId,ISharedProperty> propertyMap
protected UnrealId Id
protected LocationProperty myLocation
protected UnrealIdProperty myHolder
protected IntegerProperty myTeam
protected StringProperty myState
public FlagInfoSharedImpl(FlagInfoSharedImpl source)
public FlagInfoSharedImpl(WorldObjectId objectId, Collection<ISharedProperty> properties)
public void setSimTime(long SimTime)
FlagInfoShared
setSimTime
in class FlagInfoShared
public FlagInfoSharedImpl clone()
clone
in interface ISharedWorldObject
clone
in class FlagInfoShared
public ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId
in interface IWorldObject
getId
in class FlagInfoShared
public Location getLocation()
getLocation
in class FlagInfoShared
public UnrealId getHolder()
getHolder
in class FlagInfoShared
public Integer getTeam()
getTeam
in class FlagInfoShared
public String getState()
getState
in class FlagInfoShared
public String toString()
toString
in class FlagInfoShared
public String toHtmlString()
toHtmlString
in class FlagInfoShared
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.