|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoxi.physics2d.behaviors.ConstantForceBehavior
toxi.physics2d.behaviors.GravityBehavior
public class GravityBehavior
Constructor Summary | |
---|---|
GravityBehavior(toxi.geom.Vec2D gravity)
|
Method Summary | |
---|---|
void |
configure(float timeStep)
|
Methods inherited from class toxi.physics2d.behaviors.ConstantForceBehavior |
---|
apply, getForce, setForce |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GravityBehavior(toxi.geom.Vec2D gravity)
Method Detail |
---|
public void configure(float timeStep)
configure
in interface ParticleBehavior2D
configure
in class ConstantForceBehavior
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |