|
|||||||||
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.NavPointShared cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointMessage.NavPointSharedMessage
public class NavPointMessage.NavPointSharedMessage
Implementation of the shared part of the GameBots2004 message NAV, used to facade NAVMessage.
Complete message documentation: Synchronous message. NavPoint carries information about UT navigation point - location, reachability... Also some item can be respawned at this point. Or some additional information can be stored here (if it is an ambush point, or sniper point..).
Field Summary | |
---|---|
protected BooleanProperty |
myDoorOpened
True if this NavPoint is a Door and door is opened. |
protected BooleanProperty |
myItemSpawned
True if the item is spawned at the point. |
protected LocationProperty |
myLocation
Location of navigation point. |
protected VelocityProperty |
myVelocity
Velocity of the navigation point (if the navigation point is currently moving). |
protected java.util.HashMap<PropertyId,ISharedProperty> |
propertyMap
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointShared |
---|
DoorOpenedPropertyToken, ItemSpawnedPropertyToken, LocationPropertyToken, SharedPropertyTokens, SimTime, VelocityPropertyToken |
Constructor Summary | |
---|---|
NavPointMessage.NavPointSharedMessage()
|
Method Summary | |
---|---|
NavPointMessage.NavPointSharedMessage |
clone()
|
UnrealId |
getId()
A unique Id of this navigation point assigned by the game. |
Location |
getLocation()
Location of navigation point. |
java.util.Map<PropertyId,ISharedProperty> |
getProperties()
|
ISharedProperty |
getProperty(PropertyId id)
|
Velocity |
getVelocity()
Velocity of the navigation point (if the navigation point is currently moving). |
boolean |
isDoorOpened()
True if this NavPoint is a Door and door is opened. |
boolean |
isItemSpawned()
True if the item is spawned at the point. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointShared |
---|
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 BooleanProperty myItemSpawned
protected BooleanProperty myDoorOpened
Constructor Detail |
---|
public NavPointMessage.NavPointSharedMessage()
Method Detail |
---|
public NavPointMessage.NavPointSharedMessage clone()
clone
in interface ISharedWorldObject
clone
in class NavPointShared
public ISharedProperty getProperty(PropertyId id)
public java.util.Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId
in interface IWorldObject
getId
in class NavPointShared
public Location getLocation()
getLocation
in interface ILocated
getLocation
in class NavPointShared
public Velocity getVelocity()
getVelocity
in interface ILocomotive
getVelocity
in class NavPointShared
public boolean isItemSpawned()
isItemSpawned
in class NavPointShared
public boolean isDoorOpened()
isDoorOpened
in class NavPointShared
public java.lang.String toString()
toString
in class NavPointShared
public java.lang.String toHtmlString()
toHtmlString
in class NavPointShared
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |