|
||||||||||
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.ItemStatic cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemMessage.ItemStaticMessage
public class ItemMessage.ItemStaticMessage
Implementation of the static 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 |
---|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemStatic |
---|
SimTime |
Constructor Summary | |
---|---|
ItemMessage.ItemStaticMessage()
|
Method Summary | |
---|---|
ItemMessage.ItemStaticMessage |
clone()
|
int |
getAmount()
If this item is some ammo or health pack, here we can find out how much of the attribute this item will add. |
ItemDescriptor |
getDescriptor()
Descriptor of the item - according the ItemType you may cast this to various XYZDescriptor. |
UnrealId |
getId()
Unique Id of the item. |
NavPoint |
getNavPoint()
If the Item is not dropped then it's item that is laying at some navpoint and this is that NavPoint instance. |
UnrealId |
getNavPointId()
Id of the navpoint where the item is laying. |
ItemType |
getType()
Class of the item (e.g. |
boolean |
isDifferentFrom(IStaticWorldObject other)
|
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemStatic |
---|
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 |
Constructor Detail |
---|
public ItemMessage.ItemStaticMessage()
Method Detail |
---|
public ItemMessage.ItemStaticMessage clone()
clone
in class ItemStatic
public UnrealId getId()
getId
in interface IWorldObject
getId
in class ItemStatic
public UnrealId getNavPointId()
getNavPointId
in class ItemStatic
public NavPoint getNavPoint()
getNavPoint
in class ItemStatic
public int getAmount()
getAmount
in class ItemStatic
public ItemType getType()
getType
in class ItemStatic
public ItemDescriptor getDescriptor()
getDescriptor
in class ItemStatic
public boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom
in interface IStaticWorldObject
isDifferentFrom
in class ItemStatic
public String toString()
toString
in class ItemStatic
public String toHtmlString()
toHtmlString
in class ItemStatic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |