cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class EntityMessage.EntityStaticMessage

Package class diagram package EntityMessage.EntityStaticMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityStatic
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityMessage.EntityStaticMessage
All Implemented Interfaces:
IWorldObject, IStaticWorldObject
Enclosing class:
EntityMessage

public class EntityMessage.EntityStaticMessage
extends EntityStatic

Implementation of the static part of the GameBots2004 message ENT, used to facade ENTMessage.

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.


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityStatic
SimTime
 
Constructor Summary
EntityMessage.EntityStaticMessage()
           
 
Method Summary
 EntityMessage.EntityStaticMessage 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)
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityStatic
getCompositeClass, getSimTime, setSimTime
 
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
 

Constructor Detail

EntityMessage.EntityStaticMessage

public EntityMessage.EntityStaticMessage()
Method Detail

clone

public EntityMessage.EntityStaticMessage clone()
Specified by:
clone in class EntityStatic

getId

public UnrealId getId()
Unique Id of the item. This Id represents some entity in the world.

Specified by:
getId in interface IWorldObject
Specified by:
getId in class EntityStatic

getType

public String getType()
Type (category) of the entity.

Specified by:
getType in class EntityStatic

getEntityClass

public String getEntityClass()
Type (category) of the entity.

Specified by:
getEntityClass in class EntityStatic

isDifferentFrom

public boolean isDifferentFrom(IStaticWorldObject other)
Specified by:
isDifferentFrom in interface IStaticWorldObject
Overrides:
isDifferentFrom in class EntityStatic

toString

public String toString()
Overrides:
toString in class EntityStatic

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class EntityStatic


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.