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

Package class diagram package EntityMessage.EntityLocalMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityLocal
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityMessage.EntityLocalMessage
All Implemented Interfaces:
IWorldObject, ILocalViewable, ILocalWorldObject, ILocalGBViewable, Cloneable
Enclosing class:
EntityMessage

public class EntityMessage.EntityLocalMessage
extends EntityLocal

Implementation of the local 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityLocal
EntityLocal.ObjectDisappeared
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityLocal
SimTime
 
Constructor Summary
EntityMessage.EntityLocalMessage()
           
 
Method Summary
 EntityMessage.EntityLocalMessage clone()
           
 UnrealId getId()
          Unique Id of the item.
 EntityMessage.EntityLocalMessage getLocal()
           
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 boolean isVisible()
          If the item is in the field of view of the bot.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityLocal
createDisappearEvent, 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.EntityLocalMessage

public EntityMessage.EntityLocalMessage()
Method Detail

clone

public EntityMessage.EntityLocalMessage clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class EntityLocal

getLocal

public EntityMessage.EntityLocalMessage getLocal()
Overrides:
getLocal in class EntityLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class EntityLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class EntityLocal

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 EntityLocal

isVisible

public boolean isVisible()
If the item is in the field of view of the bot.

Specified by:
isVisible in interface ILocalViewable
Specified by:
isVisible in class EntityLocal

toString

public String toString()
Overrides:
toString in class EntityLocal

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class EntityLocal


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