|
||||||||||
| 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 EntityLocalpublic EntityLocalImpl clone()
clone in interface ILocalWorldObjectclone in class EntityLocalpublic UnrealId getId()
getId in interface IWorldObjectgetId in class EntityLocalpublic boolean isVisible()
isVisible in interface ILocalViewableisVisible in class EntityLocalpublic EntityLocalImpl getLocal()
getLocal in class EntityLocalpublic ISharedWorldObject getShared()
getShared in class EntityLocalpublic IStaticWorldObject getStatic()
getStatic in class EntityLocalpublic String toString()
toString in class EntityLocalpublic String toHtmlString()
toHtmlString in class EntityLocal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||