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

Package class diagram package DefConWorldEvent
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent
      extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConWorldEvent
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, cz.cuni.amis.utils.listener.Event, IDefConBasicEvent
Direct Known Subclasses:
CeasedFire, Destroyed, Hit, NewVote, NukeLaunchSilo, NukeLaunchSub, PingCarrier, PingDetection, PingSub, SharedRadar, TeamRetractedVoted, TeamVoted, UnceasedFire, UnsharedRadar, VoteFinishedNo, VoteFinishedYes

public class DefConWorldEvent
extends DefConEvent

DOCUMENT ME!

Version:
$Revision$
Author:
$author$

Constructor Summary
DefConWorldEvent(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates a new DefConWorldEvent object.
 
Method Summary
 int getCauseObjectId()
          DOCUMENT ME!
 Event getEventType()
          DOCUMENT ME!
 DefConLocation getLocation()
          DOCUMENT ME!
 String getStringizedFields()
          DOCUMENT ME!
 int getTargetObjectId()
          DOCUMENT ME!
 UnitType getUnitType()
          DOCUMENT ME!
 
Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent
getSimTime, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefConWorldEvent

public DefConWorldEvent(Event eventType,
                        int causeObjectId,
                        int targetObjectId,
                        UnitType unitType,
                        DefConLocation location,
                        double time)
Creates a new DefConWorldEvent object.

Parameters:
eventType - DOCUMENT ME!
causeObjectId - DOCUMENT ME!
targetObjectId - DOCUMENT ME!
unitType - DOCUMENT ME!
location - DOCUMENT ME!
time - DOCUMENT ME!
Method Detail

getEventType

public Event getEventType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCauseObjectId

public int getCauseObjectId()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTargetObjectId

public int getTargetObjectId()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getUnitType

public UnitType getUnitType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLocation

public DefConLocation getLocation()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getStringizedFields

public String getStringizedFields()
DOCUMENT ME!

Overrides:
getStringizedFields in class DefConEvent
Returns:
DOCUMENT ME!


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