#include <baseParticle.h>
Inheritance diagram for BaseParticle:
Public Member Functions | |
INLINE void | set_age (float age) |
INLINE void | set_lifespan (float lifespan) |
INLINE void | set_alive (bool alive) |
INLINE float | get_age (void) const |
INLINE float | get_lifespan (void) const |
INLINE bool | get_alive (void) const |
INLINE float | get_parameterized_age (void) const |
INLINE float | get_parameterized_vel (void) const |
virtual void | init (void)=0 |
virtual void | die (void)=0 |
virtual void | update (void)=0 |
virtual float | get_theta (void) const |
virtual PhysicsObject * | make_copy (void) const=0 |
Protected Member Functions | |
BaseParticle (int lifespan=1, bool alive=false) | |
BaseParticle (const BaseParticle ©) | |
virtual | ~BaseParticle (void) |
Private Attributes | |
float | _age |
float | _lifespan |
bool | _alive |
LPoint3f | _last_position |
|
Definition at line 27 of file baseParticle.cxx. |
|
Definition at line 37 of file baseParticle.cxx. |
|
Definition at line 49 of file baseParticle.cxx. |
|
Implemented in OrientedParticle, PointParticle, and ZSpinParticle. Referenced by ParticleSystem::kill_particle(). |
|
Referenced by ZSpinParticle::update(), and ParticleSystem::update(). |
|
|
Referenced by ParticleSystem::update(). |
|
Referenced by SpriteParticleRenderer::render(), SparkleParticleRenderer::render(), LineParticleRenderer::render(), GeomParticleRenderer::render(), and ZSpinParticle::update(). |
|
|
|
Reimplemented in ZSpinParticle. Definition at line 58 of file baseParticle.cxx. Referenced by SpriteParticleRenderer::render(). |
|
Implemented in OrientedParticle, PointParticle, and ZSpinParticle. Referenced by ParticleSystem::birth_particle(). |
|
Reimplemented from PhysicsObject. Implemented in OrientedParticle, PointParticle, and ZSpinParticle. |
|
Referenced by BaseParticleFactory::populate_particle(), and ParticleSystem::update(). |
|
Referenced by ParticleSystem::birth_particle(), ParticleSystem::kill_particle(), and BaseParticleFactory::populate_particle(). |
|
Referenced by BaseParticleFactory::populate_particle(). |
|
Implemented in OrientedParticle, PointParticle, and ZSpinParticle. Referenced by ParticleSystem::update(). |
|
Definition at line 33 of file baseParticle.h. Referenced by BaseParticle(). |
|
Definition at line 35 of file baseParticle.h. Referenced by BaseParticle(). |
|
Reimplemented from PhysicsObject. Definition at line 37 of file baseParticle.h. |
|
Definition at line 34 of file baseParticle.h. Referenced by BaseParticle(). |