#ifndef SPARKGENERATOR_H
#define SPARKGENERATOR_H
#include "ParticleEngine.h"

#include "MemoryManager/debugNew.h"
namespace ParticleSystem{
	/**
	 * classe gerant un generateur d'etincelles
	 */
	class SparkGenerator : public ParticleEngine::ParticleGenerator
	{
	private:
		bool fatal;
		float radius;
	public:
		SparkGenerator(bool fatal, float radius = 0);
		virtual ~SparkGenerator(void);
		/**
		 * methode servant à generer une particule morte du moteur de particules.
		 * @param particle : la particule à generer.
		 * @see ParticleSystem::ParticleEngine::ParticleGenerator::generate()
		 */
		void generate(ParticleEngine::Particle * particle);
	};

};
#include "MemoryManager/debugNewOff.h"
#endif
