class: ege::ParticuleEngine
Description:
Constructor and Destructor:
+ ParticuleEngine (ege::Environement & _env);
+ ~ParticuleEngine (void );
Synopsis:
+ void clear (void );
+ void add (Particule* _particule);
+ void update (float _deltaTime);
+ void draw (const ege::Camera & _camera);
+ Particule* respown (const char* _particuleType);
Detail:
ParticuleEngine
+ ParticuleEngine (ege::Environement & _env);
~ParticuleEngine
+ ~ParticuleEngine (void );
clear
+ void clear (void );
clear the particule engine
add
+ void add (Particule* _particule);
add a particule in the engine (internal acces only)
update
+ void update (float _deltaTime);
update particule properties
Parameter [input]: | _deltaTime | delta time to process |
draw
+ void draw (const ege::Camera & _camera);
draw all the active Particule
respown
+ Particule* respown (const char* _particuleType);
get a particue with his type, we get particule that has been already removed, otherwise, you will create new
Note: If you did not want to use respawn set type at NULL.