cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class MyInventoryMessage.MyInventorySharedMessage
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MyInventoryShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MyInventoryMessage.MyInventorySharedMessage
- All Implemented Interfaces:
- cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject, cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject, Cloneable
- Enclosing class:
- MyInventoryMessage
public class MyInventoryMessage.MyInventorySharedMessage
- extends MyInventoryShared
Implementation of the shared part of the GameBots2004 message MYINV, used
to facade MYINVMessage.
Complete message documentation:
An object in the observed player's inventory.
Field Summary |
protected HashMap<cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId,cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty> |
propertyMap
|
propertyMap
protected HashMap<cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId,cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty> propertyMap
MyInventoryMessage.MyInventorySharedMessage
public MyInventoryMessage.MyInventorySharedMessage()
clone
public MyInventoryMessage.MyInventorySharedMessage clone()
- Specified by:
clone
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject
- Specified by:
clone
in class MyInventoryShared
getProperty
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty getProperty(cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId id)
getProperties
public Map<cz.cuni.amis.pogamut.multi.communication.worldview.property.PropertyId,cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedProperty> getProperties()
getId
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
- Unique Id of the item. This Id represents the item in the inventory.
- Specified by:
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
- Specified by:
getId
in class MyInventoryShared
toString
public String toString()
- Overrides:
toString
in class MyInventoryShared
toHtmlString
public String toHtmlString()
- Overrides:
toHtmlString
in class MyInventoryShared
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.