| Package | com.roguedevelopment.pulse.rule |
| Interface | public interface IPulseRule |
| Implementors | AccelerationRule, BoundingBoxRule, ColorTransformRule, DeathRule, FadeRule, GravityRule, MouseSwarmRule, MovementRule, MovementStopRule, ParamTweenRule, PointSwarmRule, RotateRule, RotateToAngleRule, ScaleRule, TweenRule, XOscillatorRule |
| Method | Defined by | ||
|---|---|---|---|
|
Used by the particle engine to apply a rule to a particle.
| IPulseRule | ||
|
configure(params:Array):void
Used by the SimpleParticles interface to configure the rule.
| IPulseRule | ||
| applyRule | () | method |
public function applyRule(pulse:IParticle, currentMs:Number, lastMs:Number):voidUsed by the particle engine to apply a rule to a particle. This happens every timeslice.
Parameterspulse:IParticle |
|
currentMs:Number |
|
lastMs:Number |
| configure | () | method |
public function configure(params:Array):voidUsed by the SimpleParticles interface to configure the rule.
Parametersparams:Array |