#include <particle.h>
Public Methods | |
| particle_system_c () | |
| c'tor | |
| virtual | ~particle_system_c () |
| d'tor | |
| void | update () |
| call each frame to move particles | |
| void | draw () |
| call this to draw all particles | |
| void | remove_all_emitters () |
| removes all emitters from system | |
| void | remove_all_types () |
| removes all types from system | |
| slong | add_emitter (class particle_emitter_c *) |
| adds an emitter to that system | |
| void | remove_emitter (class particle_emitter_c *) |
| removes an emitter from system | |
| slong | add_type (class particle_type_c *) |
| adds a type to the system | |
Protected Attributes | |
| array_c< class particle_emitter_c > * | emitters |
| all emitters | |
| array_c< class particle_type_c > * | types |
| all types | |
Definition at line 109 of file particle.h.
|
|
Definition at line 98 of file p_system.cpp. References INVALID_INDEX. |
|
|
Definition at line 121 of file p_system.cpp. References INVALID_INDEX. |
|
|
Definition at line 110 of file p_system.cpp. Referenced by particle_emitter_c::~particle_emitter_c(). |
1.2.18