|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.game.event.StateEvent
public class StateEvent
Provides an event for state changes. This class is immutable so that listeners can't inadvertantly alter instances.
| Constructor Summary | |
|---|---|
StateEvent(IEnvironment source)
Construct this object with the given parameter. |
|
StateEvent(IEnvironment source,
IAction action)
Construct this object with the given parameter. |
|
| Method Summary | |
|---|---|
IAction |
getAction()
Return the action. |
IEnvironment |
getSource()
Return the source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateEvent(IEnvironment source)
public StateEvent(IEnvironment source,
IAction action)
action - Action which caused this state change.| Method Detail |
|---|
public IAction getAction()
public IEnvironment getSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |