simogl.effect.particle.custom
Class ChimneySmoke

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

public class ChimneySmoke
extends AbstractParticleEffect

This class represents the particle effect that can be used as chimney smoke for buildings.

Author:
Frank Bruns

Constructor Summary
ChimneySmoke(float x, float y, float z, int numberOfParticles, long maxPartAge, long creationIntervall)
          Creates an chimney smoke 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

ChimneySmoke

public ChimneySmoke(float x,
                    float y,
                    float z,
                    int numberOfParticles,
                    long maxPartAge,
                    long creationIntervall)
Creates an chimney smoke effect with the specified parameters. It is a relativly constant stream of particles that float to the sky and have a little deviation to the left or right.

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)