|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.games.doodlejump.events.GameWonEvent
public class GameWonEvent
The GameWonEvent implements IEventHandler and describes what happens when a Game is Won.
Constructor Summary | |
---|---|
GameWonEvent(DoodleSprite doodle,
Game game,
GameState gameWonState)
|
Method Summary | |
---|---|
void |
actionPerformed()
User defines what to do after event has been triggered. |
boolean |
isTriggered()
User defines the condition when the event will be triggered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GameWonEvent(DoodleSprite doodle, Game game, GameState gameWonState)
Method Detail |
---|
public void actionPerformed()
IEventHandler
actionPerformed
in interface IEventHandler
public boolean isTriggered()
IEventHandler
isTriggered
in interface IEventHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |