toxi.physics2d.behaviors
Interface ParticleBehavior2D

All Known Implementing Classes:
AttractionBehavior, ConstantForceBehavior, GravityBehavior

public interface ParticleBehavior2D


Method Summary
 void apply(VerletParticle2D p)
          Applies the constraint to the passed in particle.
 void configure(float timeStep)
           
 

Method Detail

apply

void apply(VerletParticle2D p)
Applies the constraint to the passed in particle. The method is assumed to manipulate the given instance directly.

Parameters:
p - particle

configure

void configure(float timeStep)