co.uk.sentinelweb.ps.motion
Class CrazyMotion

java.lang.Object
  extended by co.uk.sentinelweb.ps.motion.Motion
      extended by co.uk.sentinelweb.ps.motion.CrazyMotion

public class CrazyMotion
extends Motion


Field Summary
 
Fields inherited from class co.uk.sentinelweb.ps.motion.Motion
timerLength, useTimer
 
Constructor Summary
CrazyMotion(float freq, float amp, Vector3D rot, int timerLength)
           
CrazyMotion(int timerLength)
           
 
Method Summary
 boolean update(ParticleSystems.ParticleSystem.Particle pt)
          The main looping function for the motion - update the particle loc,vel,acc here.
 
Methods inherited from class co.uk.sentinelweb.ps.motion.Motion
cleanup, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrazyMotion

public CrazyMotion(int timerLength)

CrazyMotion

public CrazyMotion(float freq,
                   float amp,
                   Vector3D rot,
                   int timerLength)
Method Detail

update

public boolean update(ParticleSystems.ParticleSystem.Particle pt)
Description copied from class: Motion
The main looping function for the motion - update the particle loc,vel,acc here.

Specified by:
update in class Motion
Parameters:
pt - particle.
Returns:
true to continue, false to stop (will go to next motion if available).