|
|||||||||
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.ItemShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemMessage.ItemSharedMessage
public class ItemMessage.ItemSharedMessage
Implementation of the shared part of the GameBots2004 message INV, used to facade INVMessage.
Complete message documentation: Synchronous/asynchronous message. An object on the ground that can be picked up.
Field Summary | |
---|---|
protected BooleanProperty |
myDropped
Whether it is regular item or one dropped by some bot (usually during dying). |
protected LocationProperty |
myLocation
Location of the item. |
protected java.util.HashMap<PropertyId,ISharedProperty> |
propertyMap
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemShared |
---|
DroppedPropertyToken, LocationPropertyToken, SharedPropertyTokens, SimTime |
Constructor Summary | |
---|---|
ItemMessage.ItemSharedMessage()
|
Method Summary | |
---|---|
ItemMessage.ItemSharedMessage |
clone()
|
UnrealId |
getId()
Unique Id of the item. |
Location |
getLocation()
Location of the item. |
java.util.Map<PropertyId,ISharedProperty> |
getProperties()
|
ISharedProperty |
getProperty(PropertyId id)
|
boolean |
isDropped()
Whether it is regular item or one dropped by some bot (usually during dying). |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemShared |
---|
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 BooleanProperty myDropped
Constructor Detail |
---|
public ItemMessage.ItemSharedMessage()
Method Detail |
---|
public ItemMessage.ItemSharedMessage clone()
clone
in interface ISharedWorldObject
clone
in class ItemShared
public ISharedProperty getProperty(PropertyId id)
public java.util.Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId
in interface IWorldObject
getId
in class ItemShared
public Location getLocation()
getLocation
in interface ILocated
getLocation
in class ItemShared
public boolean isDropped()
isDropped
in class ItemShared
public java.lang.String toString()
toString
in class ItemShared
public java.lang.String toHtmlString()
toHtmlString
in class ItemShared
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |