org.vizzini.game.event
Class ActionReceivedEvent

java.lang.Object
  extended by org.vizzini.game.event.ActionReceivedEvent
All Implemented Interfaces:
IEvent

public class ActionReceivedEvent
extends Object
implements IEvent

Provides an event for action received changes. This class is immutable so that listeners can't inadvertantly alter instances.

Since:
v0.1
Version:
v0.2
Author:
Jeffrey M. Thompson

Constructor Summary
ActionReceivedEvent(IAction action)
          Construct this object with the given parameter.
 
Method Summary
 IAction getAction()
          Return the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionReceivedEvent

public ActionReceivedEvent(IAction action)
Construct this object with the given parameter.

Parameters:
action - Action which caused this action received change.
Since:
v0.1
Method Detail

getAction

public IAction getAction()
Return the action.

Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02