|
||||||||||
| 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.Entity
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityCompositeImpl
public class EntityCompositeImpl
Composite implementation of the ENT abstract message. It wraps Local/Shared/Static parts in single object allowing to presenting a nice facade for users.
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 |
|---|
| Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Entity |
|---|
Entity.EntityUpdate, Entity.ObjectDisappeared |
| Field Summary | |
|---|---|
protected EntityLocalImpl |
partLocal
|
protected EntityStaticImpl |
partStatic
|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Entity |
|---|
PROTOTYPE, SimTime |
| Constructor Summary | |
|---|---|
EntityCompositeImpl()
Parameter-less contructor for the message. |
|
EntityCompositeImpl(EntityCompositeImpl original)
Cloning constructor. |
|
EntityCompositeImpl(EntityLocalImpl partLocal,
EntitySharedImpl partShared,
EntityStaticImpl partStatic)
Composite-impl constructor. |
|
| Method Summary | |
|---|---|
String |
getEntityClass()
Type (category) of the entity. |
UnrealId |
getId()
Unique Id of the item. |
EntityLocal |
getLocal()
|
Location |
getLocation()
Location of the item. |
Rotation |
getRotation()
Rotation of the item. |
EntityShared |
getShared()
|
EntityStatic |
getStatic()
|
String |
getType()
Type (category) of the entity. |
Velocity |
getVelocity()
Velocity of the item. |
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.Entity |
|---|
createDisappearEvent, getSimTime, toJsonLiteral |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected EntityStaticImpl partStatic
protected EntityLocalImpl partLocal
| Constructor Detail |
|---|
public EntityCompositeImpl()
public EntityCompositeImpl(EntityLocalImpl partLocal,
EntitySharedImpl partShared,
EntityStaticImpl partStatic)
partLocal - local-part of the messagepartShared - shared-part of the messagepartStatic - static-part of the messagepublic EntityCompositeImpl(EntityCompositeImpl original)
original - | Method Detail |
|---|
public void setSimTime(long SimTime)
Entity
setSimTime in class Entitypublic EntityStatic getStatic()
public EntityLocal getLocal()
public EntityShared getShared()
public UnrealId getId()
Entity
getId in interface IWorldObjectgetId in class Entitypublic boolean isVisible()
Entity
isVisible in interface IViewableisVisible in class Entitypublic Location getLocation()
Entity
getLocation in interface ILocatedgetLocation in class Entitypublic Rotation getRotation()
Entity
getRotation in class Entitypublic Velocity getVelocity()
Entity
getVelocity in class Entitypublic String getType()
Entity
getType in class Entitypublic String getEntityClass()
Entity
getEntityClass in class Entitypublic String toString()
toString in class Entitypublic String toHtmlString()
toHtmlString in class Entity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||