|
||||||||||
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.EntityLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityLocalImpl
public class EntityLocalImpl
Implementation of the local part of the GameBots2004 message ENT.
Complete message documentation: Generic physical entity that may be present in the world. Works as a hook for custom objects, such as new items from EmohawkRPG extension.
Nested Class Summary | |
---|---|
static class |
EntityLocalImpl.EntityLocalUpdate
|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityLocal |
---|
EntityLocal.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.EntityLocal |
---|
SimTime |
Constructor Summary | |
---|---|
EntityLocalImpl()
Parameter-less contructor for the message. |
|
EntityLocalImpl(Entity original)
Cloning constructor from the full message. |
|
EntityLocalImpl(EntityLocal original)
Cloning constructor from the message part. |
|
EntityLocalImpl(EntityLocalImpl original)
Cloning constructor from the full message. |
|
EntityLocalImpl(UnrealId Id,
boolean Visible)
Creates new instance of the message Entity. |
Method Summary | |
---|---|
EntityLocalImpl |
clone()
|
UnrealId |
getId()
Unique Id of the item. |
EntityLocalImpl |
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.EntityLocal |
---|
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 EntityLocalImpl()
public EntityLocalImpl(UnrealId Id, boolean Visible)
Id
- Unique Id of the item. This Id represents some entity in the world.Visible
- If the item is in the field of view of the bot.public EntityLocalImpl(Entity original)
original
- public EntityLocalImpl(EntityLocalImpl original)
original
- public EntityLocalImpl(EntityLocal original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
EntityLocal
setSimTime
in class EntityLocal
public EntityLocalImpl clone()
clone
in interface ILocalWorldObject
clone
in class EntityLocal
public UnrealId getId()
getId
in interface IWorldObject
getId
in class EntityLocal
public boolean isVisible()
isVisible
in interface ILocalViewable
isVisible
in class EntityLocal
public EntityLocalImpl getLocal()
getLocal
in class EntityLocal
public ISharedWorldObject getShared()
getShared
in class EntityLocal
public IStaticWorldObject getStatic()
getStatic
in class EntityLocal
public String toString()
toString
in class EntityLocal
public String toHtmlString()
toHtmlString
in class EntityLocal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |