simogl.effect.particle.custom
Class Fire

java.lang.Object
  extended by simogl.effect.particle.AbstractParticleEffect
      extended by simogl.effect.particle.custom.Fire

public class Fire
extends AbstractParticleEffect


Constructor Summary
Fire(float x, float y, float z, int numberOfParticles, long maxPartAge, long creationIntervall)
          Creates a fire effect with the specified parameters
 
Method Summary
 
Methods inherited from class simogl.effect.particle.AbstractParticleEffect
draw, setEnabled, setPosition, setPosition, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fire

public Fire(float x,
            float y,
            float z,
            int numberOfParticles,
            long maxPartAge,
            long creationIntervall)
Creates a fire effect with the specified parameters

Parameters:
x - x-coordinate
y - y-coordinate
z - z-coordinate
numberOfParticles - maximum number of particles to use
maxPartAge - maximum particle age (in miliseconds)
creationIntervall - intervall between the generation of two particles (in miliseconds)