org.mars_sim.msp.simulation
Class UnitManagerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.mars_sim.msp.simulation.UnitManagerEvent
All Implemented Interfaces:
java.io.Serializable

public class UnitManagerEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
static java.lang.String ADD_UNIT
           
static java.lang.String REMOVE_UNIT
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 java.lang.String getEventType()
          Gets the event type.
 Unit getUnit()
          Gets the unit target of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADD_UNIT

public static final java.lang.String ADD_UNIT
See Also:
Constant Field Values

REMOVE_UNIT

public static final java.lang.String REMOVE_UNIT
See Also:
Constant Field Values
Method Detail

getEventType

public java.lang.String getEventType()
Gets the event type.

Returns:
type string.

getUnit

public Unit getUnit()
Gets the unit target of this event.

Returns:
unit