|
||||||||||
| 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.EntityStatic
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityStaticImpl
public class EntityStaticImpl
Implementation of the static 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 |
EntityStaticImpl.EntityStaticUpdate
|
| Field Summary | |
|---|---|
protected String |
EntityClass
Type (category) of the entity. |
protected UnrealId |
Id
Unique Id of the item. |
protected String |
Type
Type (category) of the entity. |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityStatic |
|---|
SimTime |
| Constructor Summary | |
|---|---|
EntityStaticImpl()
Parameter-less contructor for the message. |
|
EntityStaticImpl(Entity original)
Cloning constructor from the full message. |
|
EntityStaticImpl(EntityStatic original)
Cloning constructor from the message part. |
|
EntityStaticImpl(EntityStaticImpl original)
Cloning constructor from the full message. |
|
EntityStaticImpl(UnrealId Id,
String Type,
String EntityClass)
Creates new instance of the message Entity. |
|
| Method Summary | |
|---|---|
EntityStaticImpl |
clone()
|
String |
getEntityClass()
Type (category) of the entity. |
UnrealId |
getId()
Unique Id of the item. |
String |
getType()
Type (category) of the entity. |
boolean |
isDifferentFrom(IStaticWorldObject other)
|
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.EntityStatic |
|---|
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 String Type
protected String EntityClass
| Constructor Detail |
|---|
public EntityStaticImpl()
public EntityStaticImpl(UnrealId Id,
String Type,
String EntityClass)
Id - Unique Id of the item. This Id represents some entity in the world.Type - Type (category) of the entity.EntityClass - Type (category) of the entity.public EntityStaticImpl(Entity original)
original - public EntityStaticImpl(EntityStaticImpl original)
original - public EntityStaticImpl(EntityStatic original)
original - | Method Detail |
|---|
public void setSimTime(long SimTime)
EntityStatic
setSimTime in class EntityStaticpublic EntityStaticImpl clone()
clone in class EntityStaticpublic UnrealId getId()
getId in interface IWorldObjectgetId in class EntityStaticpublic String getType()
getType in class EntityStaticpublic String getEntityClass()
getEntityClass in class EntityStaticpublic boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom in interface IStaticWorldObjectisDifferentFrom in class EntityStaticpublic String toString()
toString in class EntityStaticpublic String toHtmlString()
toHtmlString in class EntityStatic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||