|
||||||||||
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.MoverLocal cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocalImpl
public class MoverLocalImpl
Implementation of the local part of the GameBots2004 message MOV.
Complete message documentation: Synchronous message. Movers can be doors, elevators, or any other chunk of architecture that can move. They generally need to be either run into, or activated by shooting or pressing a button. We are working on ways to provide bots with more of the information they need to deal with movers appropriately.
Nested Class Summary | |
---|---|
static class |
MoverLocalImpl.MoverLocalUpdate
|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal |
---|
MoverLocal.ObjectDisappeared |
Field Summary | |
---|---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
A unique Id of this mover assigned by the game. |
protected boolean |
Visible
If the mover is in the field of view of the bot. |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal |
---|
SimTime |
Constructor Summary | |
---|---|
MoverLocalImpl()
Parameter-less contructor for the message. |
|
MoverLocalImpl(Mover original)
Cloning constructor from the full message. |
|
MoverLocalImpl(MoverLocal original)
Cloning constructor from the message part. |
|
MoverLocalImpl(MoverLocalImpl original)
Cloning constructor from the full message. |
|
MoverLocalImpl(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
boolean Visible)
Creates new instance of the message Mover. |
Method Summary | |
---|---|
MoverLocalImpl |
clone()
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
A unique Id of this mover assigned by the game. |
MoverLocalImpl |
getLocal()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject |
getShared()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject |
getStatic()
|
boolean |
isVisible()
If the mover is in the field of view of the bot. |
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.MoverLocal |
---|
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 MoverLocalImpl()
public MoverLocalImpl(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id, boolean Visible)
Id
- A unique Id of this mover assigned by the game.Visible
- If the mover is in the field of view of the bot.public MoverLocalImpl(Mover original)
original
- public MoverLocalImpl(MoverLocalImpl original)
original
- public MoverLocalImpl(MoverLocal original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
MoverLocal
setSimTime
in class MoverLocal
public MoverLocalImpl clone()
clone
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObject
clone
in class MoverLocal
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 MoverLocal
public boolean isVisible()
isVisible
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalViewable
isVisible
in class MoverLocal
public MoverLocalImpl getLocal()
getLocal
in class MoverLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject getShared()
getShared
in class MoverLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject getStatic()
getStatic
in class MoverLocal
public String toString()
toString
in class MoverLocal
public String toHtmlString()
toHtmlString
in class MoverLocal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |