cz.cuni.amis.pogamut.defcon.communication.messages.infos
Class VoteFinishedYes
java.lang.Object
cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent
cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConWorldEvent
cz.cuni.amis.pogamut.defcon.communication.messages.infos.VoteFinishedYes
- All Implemented Interfaces:
- IWorldChangeEvent, IWorldEvent, cz.cuni.amis.utils.listener.Event, IDefConBasicEvent
public class VoteFinishedYes
- extends DefConWorldEvent
Vote has finished with a "yes" decision event from the world.
VoteFinishedYes
public VoteFinishedYes(Event eventType,
int causeObjectId,
int targetObjectId,
UnitType unitType,
DefConLocation location,
double time)
- Creates new instance of message VoteFinishedYes.
Vote has finished with a "yes" decision event from the world.
- Parameters:
eventType
- causeObjectId
- targetObjectId
- unitType
- location
- time
-
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 © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.