org.mars_sim.msp.core
Class UnitManagerEvent

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

public class UnitManagerEvent
extends EventObject

See Also:
Serialized Form

Field Summary
static String ADD_UNIT
           
static String REMOVE_UNIT
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 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 String ADD_UNIT
See Also:
Constant Field Values

REMOVE_UNIT

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

getEventType

public String getEventType()
Gets the event type.

Returns:
type string.

getUnit

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

Returns:
unit


Copyright © 2009-2013. All Rights Reserved.