|
|||||||||
| 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.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 ISharedWorldObjectclone in class NavPointSharedpublic ISharedProperty getProperty(PropertyId id)
public java.util.Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class NavPointSharedpublic Location getLocation()
getLocation in interface ILocatedgetLocation in class NavPointSharedpublic Velocity getVelocity()
getVelocity in interface ILocomotivegetVelocity in class NavPointSharedpublic boolean isItemSpawned()
isItemSpawned in class NavPointSharedpublic boolean isDoorOpened()
isDoorOpened in class NavPointSharedpublic java.lang.String toString()
toString in class NavPointSharedpublic java.lang.String toHtmlString()
toHtmlString in class NavPointShared
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||