cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages
Class EmptySharedImpl

Package class diagram package EmptySharedImpl
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.EmptyShared
          extended by cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.EmptySharedImpl
All Implemented Interfaces:
IWorldObject, ISharedWorldObject, Cloneable

public class EmptySharedImpl
extends EmptyShared

Implementation of the shared part of the GameBotsUT3 message EMP.

Complete message documentation:


Nested Class Summary
static class EmptySharedImpl.EmptySharedUpdate
           
 
Field Summary
protected  HashMap<PropertyId,ISharedProperty> propertyMap
           
 
Fields inherited from class cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.EmptyShared
EmptyId, SharedPropertyTokens, SimTime
 
Constructor Summary
EmptySharedImpl(EmptySharedImpl source)
           
EmptySharedImpl(WorldObjectId objectId, Collection<ISharedProperty> properties)
           
 
Method Summary
 EmptySharedImpl clone()
           
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
           
 Map<PropertyId,ISharedProperty> getProperties()
           
 ISharedProperty getProperty(PropertyId id)
           
 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.ut3.communication.messages.gbinfomessages.EmptyShared
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

propertyMap

protected HashMap<PropertyId,ISharedProperty> propertyMap
Constructor Detail

EmptySharedImpl

public EmptySharedImpl(EmptySharedImpl source)

EmptySharedImpl

public EmptySharedImpl(WorldObjectId objectId,
                       Collection<ISharedProperty> properties)
Method Detail

getId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
Specified by:
getId in interface IWorldObject
Overrides:
getId in class EmptyShared

setSimTime

public void setSimTime(long SimTime)
Description copied from class: EmptyShared
Used by Yylex to slip correct time of the object or programmatically.

Overrides:
setSimTime in class EmptyShared

clone

public EmptySharedImpl clone()
Specified by:
clone in interface ISharedWorldObject
Specified by:
clone in class EmptyShared

getProperty

public ISharedProperty getProperty(PropertyId id)

getProperties

public Map<PropertyId,ISharedProperty> getProperties()

toString

public String toString()
Overrides:
toString in class EmptyShared

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class EmptyShared


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