cz.cuni.amis.pogamut.defcon.communication.messages.infos
Class Tornado

Package class diagram package Tornado
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConObject
      extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConViewableObject
          extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.Tornado
All Implemented Interfaces:
IWorldObject, ILocated, IViewable, ICompositeWorldObject

public class Tornado
extends DefConViewableObject

Tornado object from the world.


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConViewableObject
location, teamId, visible
 
Constructor Summary
Tornado(int id, int teamId, DefConLocation location, boolean visible, double time)
          Creates new instance of object Tornado with specific id.
Tornado(Tornado original)
          Cloning constructor...
 
Method Summary
 String toHtmlString()
          Returns message in html format.
 String toString()
          Returns human readable serialization of the message.
 
Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConViewableObject
getLocal, getLocation, getShared, getStatic, getStringizedFields, getTeamId, isVisible, setVisibility
 
Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConObject
createDestroyedEvent, createUpdateEvent, getDestroyed, getId, getLastSeenTime, getSimTime, getType, setLastSeenTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId, getSimTime
 

Constructor Detail

Tornado

public Tornado(int id,
               int teamId,
               DefConLocation location,
               boolean visible,
               double time)
Creates new instance of object Tornado with specific id. Tornado object from the world.

Parameters:
id - Game id of this object.
teamId - Id of this object's team.
location - Location of this object.
visible - Visibility of this object.
time - Time of last update of this object (time of first spotting in this case).

Tornado

public Tornado(Tornado original)
Cloning constructor...

Parameters:
original -
Method Detail

toString

public String toString()
Returns human readable serialization of the message.

Overrides:
toString in class Object
Returns:
human readable string

toHtmlString

public String toHtmlString()
Returns message in html format.

Returns:
html message


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