Packageflare.physics
Interfacepublic interface IForce
ImplementorsDragForce, GravityForce, NBodyForce, SpringForce

Interface representing a force within a physics simulation.



Public Methods
 MethodDefined by
  
apply(sim:Simulation):void
Applies this force to a simulation.
IForce
Method detail
apply()method
public function apply(sim:Simulation):void

Applies this force to a simulation.

Parameters
sim:Simulation — the Simulation to apply the force to