|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.games.jumper.events.DeathEvent
public class DeathEvent
Event handler for the death of the main Doodle character.
Constructor Summary | |
---|---|
DeathEvent(Blah dropThis,
PlayGameState gamestate)
Constructor for this death event. |
Method Summary | |
---|---|
void |
actionPerformed()
When this event returns true, the action performed is to end the game. |
boolean |
isTriggered()
Returns true if the Doodle reaches the top of the screen. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeathEvent(Blah dropThis, PlayGameState gamestate)
dropThis
- gamestate
- Method Detail |
---|
public boolean isTriggered()
isTriggered
in interface IEventHandler
public void actionPerformed()
actionPerformed
in interface IEventHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |