|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.games.mariogame.rules.OffScreen
public class OffScreen
OffScreen rule is enforced when Mario is off the screen.
Constructor Summary | |
---|---|
OffScreen()
|
Method Summary | |
---|---|
void |
enforce(SpriteGroup... groups)
add SpriteGroups that this Rule applies to |
boolean |
isSatisfied(SpriteGroup... groups)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OffScreen()
Method Detail |
---|
public void enforce(SpriteGroup... groups)
Rule
enforce
in interface Rule
public boolean isSatisfied(SpriteGroup... groups)
isSatisfied
in interface Rule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |