An individual, physically-modelable particle abstract base class.
More...
#include "baseParticle.h"
List of all members.
Public Member Functions |
|
virtual void | die ()=0 |
|
PN_stdfloat | get_age () const |
|
bool | get_alive () const |
|
int | get_index () const |
|
PN_stdfloat | get_lifespan () const |
|
PN_stdfloat | get_parameterized_age () const |
|
PN_stdfloat | get_parameterized_vel () const |
| virtual PN_stdfloat | get_theta () const |
| | for spriteParticleRenderer
|
|
virtual void | init ()=0 |
| virtual PhysicsObject * | make_copy () const =0 |
| | dynamic copy.
|
| virtual void | output (ostream &out) const |
| | Write a string representation of this instance to <out>.
|
|
void | set_age (PN_stdfloat age) |
|
void | set_alive (bool alive) |
|
void | set_index (int index) |
|
void | set_lifespan (PN_stdfloat lifespan) |
|
virtual void | update ()=0 |
| virtual void | write (ostream &out, int indent=0) const |
| | Write a string representation of this instance to <out>.
|
Protected Member Functions |
| | BaseParticle (PN_stdfloat lifespan=1.0f, bool alive=false) |
| | Default Constructor.
|
| | BaseParticle (const BaseParticle ©) |
| | Copy Constructor.
|
| virtual | ~BaseParticle () |
| | Default Destructor.
|
Detailed Description
An individual, physically-modelable particle abstract base class.
Definition at line 26 of file baseParticle.h.
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following files: