public class BombInfoSharedImpl extends BombInfoShared
| Modifier and Type | Class and Description |
|---|---|
static class |
BombInfoSharedImpl.BombInfoSharedUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
An unique Id for this bomb, assigned by the game.
|
protected UnrealIdProperty |
myHolder
Id of player/bot holding the bomb.
|
protected IntegerProperty |
myHolderTeam
The team of the current holder (if any).
|
protected LocationProperty |
myLocation
An absolute location of the bomb (Sent if we can actually
see the flag).
|
protected StringProperty |
myState
Represents the state the bomb is in.
|
protected VelocityProperty |
myVelocity
Current velocity of the bomb.
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
HolderPropertyToken, HolderTeamPropertyToken, LocationPropertyToken, SharedPropertyTokens, SimTime, StatePropertyToken, VelocityPropertyToken| Constructor and Description |
|---|
BombInfoSharedImpl(BombInfoSharedImpl source) |
BombInfoSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties) |
| Modifier and Type | Method and Description |
|---|---|
BombInfoSharedImpl |
clone() |
UnrealId |
getHolder()
Id of player/bot holding the bomb.
|
Integer |
getHolderTeam()
The team of the current holder (if any).
|
UnrealId |
getId()
An unique Id for this bomb, assigned by the game.
|
Location |
getLocation()
An absolute location of the bomb (Sent if we can actually
see the flag).
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
String |
getState()
Represents the state the bomb is in.
|
Velocity |
getVelocity()
Current velocity of the bomb.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTimetoJsonLiteralprotected HashMap<PropertyId,ISharedProperty> propertyMap
protected UnrealId Id
protected VelocityProperty myVelocity
protected LocationProperty myLocation
protected UnrealIdProperty myHolder
protected IntegerProperty myHolderTeam
protected StringProperty myState
public BombInfoSharedImpl(BombInfoSharedImpl source)
public BombInfoSharedImpl(WorldObjectId objectId, Collection<ISharedProperty> properties)
public void setSimTime(long SimTime)
BombInfoSharedsetSimTime in class BombInfoSharedpublic BombInfoSharedImpl clone()
clone in interface ISharedWorldObjectclone in class BombInfoSharedpublic ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class BombInfoSharedpublic Velocity getVelocity()
getVelocity in class BombInfoSharedpublic Location getLocation()
getLocation in class BombInfoSharedpublic UnrealId getHolder()
getHolder in class BombInfoSharedpublic Integer getHolderTeam()
getHolderTeam in class BombInfoSharedpublic String getState()
getState in class BombInfoSharedpublic String toString()
toString in class BombInfoSharedpublic String toHtmlString()
toHtmlString in class BombInfoSharedCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.