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