toxi.physics2d.behaviors
Class GravityBehavior

java.lang.Object
  extended by toxi.physics2d.behaviors.ConstantForceBehavior
      extended by toxi.physics2d.behaviors.GravityBehavior
All Implemented Interfaces:
ParticleBehavior2D

public class GravityBehavior
extends ConstantForceBehavior


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

GravityBehavior

public GravityBehavior(toxi.geom.Vec2D gravity)
Method Detail

configure

public void configure(float timeStep)
Specified by:
configure in interface ParticleBehavior2D
Overrides:
configure in class ConstantForceBehavior