co.uk.sentinelweb.ps.motion
Class ReturnZeroMotion

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

public class ReturnZeroMotion
extends Motion


Field Summary
 
Fields inherited from class co.uk.sentinelweb.ps.motion.Motion
timerLength, useTimer
 
Constructor Summary
ReturnZeroMotion(int divisor)
           
 
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

ReturnZeroMotion

public ReturnZeroMotion(int divisor)
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).