de.rico.engine.effect.particle.custom
Class FirePS

java.lang.Object
  extended by de.rico.engine.effect.particle.AbstractParticleEffect
      extended by de.rico.engine.effect.particle.custom.FirePS

public class FirePS
extends AbstractParticleEffect

Author:
Frank Bruns

Constructor Summary
FirePS(float x, float y, float z, float size, int numberOfParticles, long maxPartAge, long creationIntervall)
          Creates a fire effect with the specified parameters.
 
Method Summary
 
Methods inherited from class de.rico.engine.effect.particle.AbstractParticleEffect
draw, getCreationInterval, getMaxPartAge, getMaxParticleCount, getParticleSize, getPosition, getTexturePath, setEnabled, setPosition, setPosition, setTexture, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirePS

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

Note: You usually need to specifiy a particle size that is bigger than the ones based on display lists or direct drawing.

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