|
||||||||||
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.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 cz.cuni.amis.pogamut.unreal.communication.messages.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(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
boolean Visible)
Creates new instance of the message Item. |
Method Summary | |
---|---|
ItemLocalImpl |
clone()
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Unique Id of the item. |
ItemLocalImpl |
getLocal()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject |
getShared()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.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 java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected boolean Visible
Constructor Detail |
---|
public ItemLocalImpl()
public ItemLocalImpl(cz.cuni.amis.pogamut.unreal.communication.messages.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 ItemLocal
public ItemLocalImpl clone()
clone
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObject
clone
in class ItemLocal
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId
in class ItemLocal
public boolean isVisible()
isVisible
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalViewable
isVisible
in class ItemLocal
public ItemLocalImpl getLocal()
getLocal
in class ItemLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject getShared()
getShared
in class ItemLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject getStatic()
getStatic
in class ItemLocal
public String toString()
toString
in class ItemLocal
public String toHtmlString()
toHtmlString
in class ItemLocal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |