cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class EntityStatic

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

public abstract class EntityStatic
extends InfoMessage
implements IStaticWorldObject

Abstract definition 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.


Field Summary
protected  long SimTime
           
 
Constructor Summary
EntityStatic()
          Parameter-less contructor for the message.
 
Method Summary
abstract  EntityStatic clone()
           
 Class getCompositeClass()
           
abstract  String getEntityClass()
          Type (category) of the entity.
abstract  UnrealId getId()
          Unique Id of the item.
 long getSimTime()
          Simulation time in MILLI SECONDS !!!
abstract  String getType()
          Type (category) of the entity.
 boolean isDifferentFrom(IStaticWorldObject other)
           
protected  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.base.communication.messages.InfoMessage
toJsonLiteral
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SimTime

protected long SimTime
Constructor Detail

EntityStatic

public EntityStatic()
Parameter-less contructor for the message.

Method Detail

getSimTime

public long getSimTime()
Simulation time in MILLI SECONDS !!!

Specified by:
getSimTime in interface IWorldObject

setSimTime

protected void setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.


clone

public abstract EntityStatic clone()
Overrides:
clone in class Object

getCompositeClass

public Class getCompositeClass()
Specified by:
getCompositeClass in interface IStaticWorldObject

getId

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

Specified by:
getId in interface IWorldObject

getType

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


getEntityClass

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


isDifferentFrom

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

toString

public String toString()
Overrides:
toString in class InfoMessage

toHtmlString

public String toHtmlString()


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