| Package | flare.physics |
| Interface | public interface IForce |
| Implementors | DragForce, GravityForce, NBodyForce, SpringForce |
| Method | Defined by | ||
|---|---|---|---|
|
apply(sim:Simulation):void
Applies this force to a simulation.
| IForce | ||
| apply | () | method |
public function apply(sim:Simulation):voidApplies this force to a simulation.
Parameterssim:Simulation — the Simulation to apply the force to
|