|
||||||||||
| 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.EntityShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityMessage.EntitySharedMessage
public class EntityMessage.EntitySharedMessage
Implementation of the shared part of the GameBots2004 message ENT, used to facade ENTMessage.
Complete message documentation: Generic physical entity that may be present in the world. Works as a hook for custom objects, such as new items from EmohawkRPG extension.
| Field Summary | |
|---|---|
protected LocationProperty |
myLocation
Location of the item. |
protected RotationProperty |
myRotation
Rotation of the item. |
protected VelocityProperty |
myVelocity
Velocity of the item. |
protected HashMap<PropertyId,ISharedProperty> |
propertyMap
|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityShared |
|---|
LocationPropertyToken, RotationPropertyToken, SharedPropertyTokens, SimTime, VelocityPropertyToken |
| Constructor Summary | |
|---|---|
EntityMessage.EntitySharedMessage()
|
|
| Method Summary | |
|---|---|
EntityMessage.EntitySharedMessage |
clone()
|
UnrealId |
getId()
Unique Id of the item. |
Location |
getLocation()
Location of the item. |
Map<PropertyId,ISharedProperty> |
getProperties()
|
ISharedProperty |
getProperty(PropertyId id)
|
Rotation |
getRotation()
Rotation of the item. |
Velocity |
getVelocity()
Velocity of the item. |
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityShared |
|---|
getCompositeClass, getSimTime, setSimTime |
| Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
|---|
toJsonLiteral |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected HashMap<PropertyId,ISharedProperty> propertyMap
protected LocationProperty myLocation
protected RotationProperty myRotation
protected VelocityProperty myVelocity
| Constructor Detail |
|---|
public EntityMessage.EntitySharedMessage()
| Method Detail |
|---|
public EntityMessage.EntitySharedMessage clone()
clone in interface ISharedWorldObjectclone in class EntitySharedpublic ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class EntitySharedpublic Location getLocation()
getLocation in interface ILocatedgetLocation in class EntitySharedpublic Rotation getRotation()
getRotation in class EntitySharedpublic Velocity getVelocity()
getVelocity in class EntitySharedpublic String toString()
toString in class EntitySharedpublic String toHtmlString()
toHtmlString in class EntityShared
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||