Class GravityBehavior2D

java.lang.Object
toxi.physics2d.behaviors.ConstantForceBehavior2D
toxi.physics2d.behaviors.GravityBehavior2D
All Implemented Interfaces:
ParticleBehavior2D

public class GravityBehavior2D extends ConstantForceBehavior2D
  • Constructor Details

    • GravityBehavior2D

      public GravityBehavior2D(Vec2D gravity)
    • GravityBehavior2D

      public GravityBehavior2D(Vec2D gravity, float timeStep)
  • Method Details