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

Package class diagram package VictoryTimerActiveChanged
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent
      extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.VictoryTimerActiveChanged
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, cz.cuni.amis.utils.listener.Event, IDefConBasicEvent

public class VictoryTimerActiveChanged
extends DefConEvent

Informs about change in running state of victory time.


Constructor Summary
VictoryTimerActiveChanged(Boolean victoryTimerActive, double time)
          Creates new instance of message VictoryTimerActiveChanged.
 
Method Summary
 Boolean getVictoryTimerActive()
          Is victory timer active?
 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.DefConEvent
getSimTime, getStringizedFields, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VictoryTimerActiveChanged

public VictoryTimerActiveChanged(Boolean victoryTimerActive,
                                 double time)
Creates new instance of message VictoryTimerActiveChanged. Informs about change in running state of victory time.

Parameters:
victoryTimerActive - Is victory timer active?
time -
Method Detail

getVictoryTimerActive

public Boolean getVictoryTimerActive()
Is victory timer active?

Returns:
Boolean

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.