|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.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 UnrealId |
Id
A unique Id of this mover assigned by the game. |
protected boolean |
Reachable
True if the bot can run here, false otherwise. |
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(UnrealId Id,
boolean Visible,
boolean Reachable)
Creates new instance of the message Mover. |
|
| Method Summary | |
|---|---|
MoverLocalImpl |
clone()
|
UnrealId |
getId()
A unique Id of this mover assigned by the game. |
MoverLocalImpl |
getLocal()
|
ISharedWorldObject |
getShared()
|
IStaticWorldObject |
getStatic()
|
boolean |
isReachable()
True if the bot can run here, false otherwise. |
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. |
java.lang.String |
toHtmlString()
|
java.lang.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 UnrealId Id
protected boolean Visible
protected boolean Reachable
| Constructor Detail |
|---|
public MoverLocalImpl()
public MoverLocalImpl(UnrealId Id,
boolean Visible,
boolean Reachable)
Id - A unique Id of this mover assigned by the game.Visible - If the mover is in the field of view of the bot.Reachable - True if the bot can run here, false otherwise.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 MoverLocalpublic MoverLocalImpl clone()
clone in interface ILocalWorldObjectclone in class MoverLocalpublic UnrealId getId()
getId in interface IWorldObjectgetId in class MoverLocalpublic boolean isVisible()
isVisible in interface ILocalViewableisVisible in class MoverLocalpublic boolean isReachable()
isReachable in class MoverLocalpublic MoverLocalImpl getLocal()
getLocal in class MoverLocalpublic ISharedWorldObject getShared()
getShared in class MoverLocalpublic IStaticWorldObject getStatic()
getStatic in class MoverLocalpublic java.lang.String toString()
toString in class MoverLocalpublic java.lang.String toHtmlString()
toHtmlString in class MoverLocal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||