j3d.examples.particles.influences
Interface IExternalInfluence

All Known Implementing Classes:
Attract, Bounce, BounceShape, BoundedScale, DebugShape, EmitShapeLight, FadePoint, FadeShape, Gravity, Kill, Repulse, Scale, Slow, Vortex

public interface IExternalInfluence


Method Summary
 void apply(Particle aParticle, float dt)
          Apply this (possibly time varying) influence to the particle for the time interval.
 void initializeParticle(Particle aParticle)
          Initialize a particle prior to the first emission.
 

Method Detail

initializeParticle

void initializeParticle(Particle aParticle)
Initialize a particle prior to the first emission.

Parameters:
aParticle - - the particle to initialize.

apply

void apply(Particle aParticle,
           float dt)
Apply this (possibly time varying) influence to the particle for the time interval.

Parameters:
aParticle - - The particle to update
dt - - The time interval (in seconds) since the last apply