|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.games.jumper.events.BlockOffScreenEvent
public class BlockOffScreenEvent
Removes blocks from sprite group when they reach the top of the screen.
Constructor Summary | |
---|---|
BlockOffScreenEvent(PlayGameState gamestate)
Sets the gamestate for this event |
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 BlockOffScreenEvent(PlayGameState gamestate)
gamestate
- Method Detail |
---|
public boolean isTriggered()
IEventHandler
isTriggered
in interface IEventHandler
public void actionPerformed()
IEventHandler
actionPerformed
in interface IEventHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |