public class BombInfoCompositeImpl extends BombInfo
BombInfo.BombInfoUpdate, BombInfo.ObjectDisappeared| Modifier and Type | Field and Description |
|---|---|
protected BombInfoLocalImpl |
partLocal |
protected BombInfoStaticImpl |
partStatic |
| Constructor and Description |
|---|
BombInfoCompositeImpl()
Parameter-less contructor for the message.
|
BombInfoCompositeImpl(BombInfoCompositeImpl original)
Cloning constructor.
|
BombInfoCompositeImpl(BombInfoLocalImpl partLocal,
BombInfoSharedImpl partShared,
BombInfoStaticImpl partStatic)
Composite-impl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
BombInfoLocal |
getLocal() |
Location |
getLocation()
An absolute location of the bomb (Sent if we can actually
see the flag).
|
BombInfoShared |
getShared() |
String |
getState()
Represents the state the bomb is in.
|
BombInfoStatic |
getStatic() |
Velocity |
getVelocity()
Current velocity of the bomb.
|
boolean |
isVisible()
True if the bot can see the bomb.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
createDisappearEvent, getSimTime, toJsonLiteralprotected BombInfoStaticImpl partStatic
protected BombInfoLocalImpl partLocal
public BombInfoCompositeImpl()
public BombInfoCompositeImpl(BombInfoLocalImpl partLocal, BombInfoSharedImpl partShared, BombInfoStaticImpl partStatic)
partLocal - local-part of the messagepartShared - shared-part of the messagepartStatic - static-part of the messagepublic BombInfoCompositeImpl(BombInfoCompositeImpl original)
original - public void setSimTime(long SimTime)
BombInfosetSimTime in class BombInfopublic BombInfoStatic getStatic()
public BombInfoLocal getLocal()
public BombInfoShared getShared()
public UnrealId getId()
BombInfogetId in interface IWorldObjectgetId in class BombInfopublic Velocity getVelocity()
BombInfogetVelocity in class BombInfopublic Location getLocation()
BombInfogetLocation in class BombInfopublic UnrealId getHolder()
BombInfopublic Integer getHolderTeam()
BombInfogetHolderTeam in class BombInfopublic boolean isVisible()
BombInfopublic String getState()
BombInfopublic String toHtmlString()
toHtmlString in class BombInfoCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.