|
|||||||||
| 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.MoverShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverMessage.MoverSharedMessage
public class MoverMessage.MoverSharedMessage

Implementation of the shared part of the GameBots2004 message MOV, used to facade MOVMessage.
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.
| Field Summary | |
|---|---|
protected LocationProperty |
myLocation
Location of the mover. |
protected StringProperty |
myState
Name of the state Mover is currently in. |
protected VelocityProperty |
myVelocity
Velocity vector. |
protected java.util.HashMap<PropertyId,ISharedProperty> |
propertyMap
|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverShared |
|---|
LocationPropertyToken, SharedPropertyTokens, SimTime, StatePropertyToken, VelocityPropertyToken |
| Constructor Summary | |
|---|---|
MoverMessage.MoverSharedMessage()
|
|
| Method Summary | |
|---|---|
MoverMessage.MoverSharedMessage |
clone()
|
UnrealId |
getId()
A unique Id of this mover assigned by the game. |
Location |
getLocation()
Location of the mover. |
java.util.Map<PropertyId,ISharedProperty> |
getProperties()
|
ISharedProperty |
getProperty(PropertyId id)
|
java.lang.String |
getState()
Name of the state Mover is currently in. |
Velocity |
getVelocity()
Velocity vector. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverShared |
|---|
getCompositeClass, getSimTime, setSimTime |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.HashMap<PropertyId,ISharedProperty> propertyMap
protected LocationProperty myLocation
protected VelocityProperty myVelocity
protected StringProperty myState
| Constructor Detail |
|---|
public MoverMessage.MoverSharedMessage()
| Method Detail |
|---|
public MoverMessage.MoverSharedMessage clone()
clone in interface ISharedWorldObjectclone in class MoverSharedpublic ISharedProperty getProperty(PropertyId id)
public java.util.Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class MoverSharedpublic Location getLocation()
getLocation in interface ILocatedgetLocation in class MoverSharedpublic Velocity getVelocity()
getVelocity in interface ILocomotivegetVelocity in class MoverSharedpublic java.lang.String getState()
getState in class MoverSharedpublic java.lang.String toString()
toString in class MoverSharedpublic java.lang.String toHtmlString()
toHtmlString in class MoverShared
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||