megamek.common.event
Class GameNewActionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by megamek.common.event.GameEvent
          extended by megamek.common.event.GameNewActionEvent
All Implemented Interfaces:
java.io.Serializable

public class GameNewActionEvent
extends GameEvent

Instances of this class are sent when new Action added to the game

See Also:
GameListener, Serialized Form

Field Summary
protected  EntityAction action
           
 
Fields inherited from class megamek.common.event.GameEvent
GAME_BOARD_CHANGE, GAME_BOARD_NEW, GAME_END, GAME_ENTITY_CHANGE, GAME_ENTITY_NEW, GAME_ENTITY_NEW_OFFBOARD, GAME_ENTITY_REMOVE, GAME_MAP_QUERY, GAME_NEW_ACTION, GAME_PHASE_CHANGE, GAME_PLAYER_CHANGE, GAME_PLAYER_CHAT, GAME_PLAYER_CONNECTED, GAME_PLAYER_DISCONNECTED, GAME_REPORT, GAME_SETTINGS_CHANGE, GAME_TURN_CHANGE, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GameNewActionEvent(java.lang.Object source, EntityAction action)
          Cunstruct new GameNewActionEvent
 
Method Summary
 EntityAction getAction()
           
 
Methods inherited from class megamek.common.event.GameEvent
getType, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

action

protected EntityAction action
Constructor Detail

GameNewActionEvent

public GameNewActionEvent(java.lang.Object source,
                          EntityAction action)
Cunstruct new GameNewActionEvent

Parameters:
source - sender
action -
Method Detail

getAction

public EntityAction getAction()
Returns:
the action.