Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.physics2d.behaviors
Class GravityBehavior

    java.lang.Object
      toxi.physics2d.behaviors.ConstantForceBehavior
          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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD