#include <PointParticle.h>
Inheritance diagram for ParticleSystems::PointParticle:
Public Member Functions | |
PointParticle (int sysId, Solver *sol) | |
The minimal Constructor. | |
PointParticle (int sysId, Solver *sol, GraphicsLib::Point3 pos, GraphicsLib::Vector vel, GraphicsLib::Colour c, GraphicsLib::Colour fc, GLfloat size, GLfloat fs, GLfloat maxLife) | |
The main Constructor. | |
virtual | ~PointParticle () |
The Destructor. | |
virtual void | draw (void) |
A virtual Function. | |
virtual void | update (void) |
A virtual Function. | |
virtual bool | isDead (void) |
A virtual Function. |
The PointParticle Class is a Subclass of the Particle Class. It extends the Particle Class in order to be able to draw a Sphere.
Definition at line 32 of file PointParticle.h.
|
The minimal Constructor. This Constructor only takes the ParticleSystem ID and the Solver.
Definition at line 14 of file PointParticle.cpp. |
|
The main Constructor. This Constructor is the main Constructor for a PointParticle. It sets the most important attributes of a PointParticle.
Definition at line 20 of file PointParticle.cpp. |
|
The Destructor. Destructs the PointParticle Definition at line 66 of file PointParticle.cpp. |
|
A virtual Function. Draws the PointParticle Implements ParticleSystems::Particle. Definition at line 32 of file PointParticle.cpp. |
|
A virtual Function. Returns true if the PointParticle is dead
Implements ParticleSystems::Particle. Definition at line 62 of file PointParticle.cpp. |
|
A virtual Function. Updates the PointParticles attributes Implements ParticleSystems::Particle. Definition at line 43 of file PointParticle.cpp. References ParticleSystems::Solver::nextStep(). |