|
||||||||||
| 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.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 ItemStaticpublic UnrealId getId()
getId in interface IWorldObjectgetId in class ItemStaticpublic UnrealId getNavPointId()
getNavPointId in class ItemStaticpublic NavPoint getNavPoint()
getNavPoint in class ItemStaticpublic int getAmount()
getAmount in class ItemStaticpublic ItemType getType()
getType in class ItemStaticpublic ItemDescriptor getDescriptor()
getDescriptor in class ItemStaticpublic boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom in interface IStaticWorldObjectisDifferentFrom in class ItemStaticpublic String toString()
toString in class ItemStaticpublic String toHtmlString()
toHtmlString in class ItemStatic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||