|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.games.jumper.rules.Gravity
public class Gravity
Apply gravity to the doodle
Constructor Summary | |
---|---|
Gravity()
|
Method Summary | |
---|---|
void |
enforce(SpriteGroup... groups)
set type SpriteGroup to be enforced by this rule. |
boolean |
isSatisfied(SpriteGroup... groups)
Check to see if the rule is satisfied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Gravity()
Method Detail |
---|
public void enforce(SpriteGroup... groups)
enforce
in interface Rule
any
- number of type SpriteGrouppublic boolean isSatisfied(SpriteGroup... groups)
isSatisfied
in interface Rule
any
- number of type SpriteGroup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |