|
||||||||||
| 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.ItemLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemLocalImpl
public class ItemLocalImpl
Implementation of the local part of the GameBots2004 message INV.
Complete message documentation: Synchronous/asynchronous message. An object on the ground that can be picked up.
| Nested Class Summary | |
|---|---|
static class |
ItemLocalImpl.ItemLocalUpdate
|
| Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemLocal |
|---|
ItemLocal.ObjectDisappeared |
| Field Summary | |
|---|---|
protected UnrealId |
Id
Unique Id of the item. |
protected boolean |
Visible
If the item is in the field of view of the bot. |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemLocal |
|---|
SimTime |
| Constructor Summary | |
|---|---|
ItemLocalImpl()
Parameter-less contructor for the message. |
|
ItemLocalImpl(Item original)
Cloning constructor from the full message. |
|
ItemLocalImpl(ItemLocal original)
Cloning constructor from the message part. |
|
ItemLocalImpl(ItemLocalImpl original)
Cloning constructor from the full message. |
|
ItemLocalImpl(UnrealId Id,
boolean Visible)
Creates new instance of the message Item. |
|
| Method Summary | |
|---|---|
ItemLocalImpl |
clone()
|
UnrealId |
getId()
Unique Id of the item. |
ItemLocalImpl |
getLocal()
|
ISharedWorldObject |
getShared()
|
IStaticWorldObject |
getStatic()
|
boolean |
isVisible()
If the item is in the field of view of the bot. |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ItemLocal |
|---|
createDisappearEvent, getCompositeClass, getSimTime |
| 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 UnrealId Id
protected boolean Visible
| Constructor Detail |
|---|
public ItemLocalImpl()
public ItemLocalImpl(UnrealId Id,
boolean Visible)
Id - Unique Id of the item. This Id represents just item on the
map, not in our inventory.Visible - If the item is in the field of view of the bot.public ItemLocalImpl(Item original)
original - public ItemLocalImpl(ItemLocalImpl original)
original - public ItemLocalImpl(ItemLocal original)
original - | Method Detail |
|---|
public void setSimTime(long SimTime)
ItemLocal
setSimTime in class ItemLocalpublic ItemLocalImpl clone()
clone in interface ILocalWorldObjectclone in class ItemLocalpublic UnrealId getId()
getId in interface IWorldObjectgetId in class ItemLocalpublic boolean isVisible()
isVisible in interface ILocalViewableisVisible in class ItemLocalpublic ItemLocalImpl getLocal()
getLocal in class ItemLocalpublic ISharedWorldObject getShared()
getShared in class ItemLocalpublic IStaticWorldObject getStatic()
getStatic in class ItemLocalpublic String toString()
toString in class ItemLocalpublic String toHtmlString()
toHtmlString in class ItemLocal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||