#include <StrikeParticle.h>
Inheritance diagram for ParticleSystems::StrikeParticle:

Public Member Functions | |
| StrikeParticle (int sysId, Solver *sol) | |
| The minimal Constructor. | |
| StrikeParticle (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 | ~StrikeParticle () |
| 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 Strike (Line) as a Particle.
Definition at line 27 of file StrikeParticle.h.
|
||||||||||||
|
The minimal Constructor. This Constructor only takes the ParticleSystem ID and the Solver.
Definition at line 12 of file StrikeParticle.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 16 of file StrikeParticle.cpp. |
|
|
The Destructor. Destructs the PointParticle Definition at line 68 of file StrikeParticle.cpp. |
|
|
A virtual Function. Draws the PointParticle Implements ParticleSystems::Particle. Definition at line 29 of file StrikeParticle.cpp. |
|
|
A virtual Function. Returns true if the PointParticle is dead
Implements ParticleSystems::Particle. Definition at line 63 of file StrikeParticle.cpp. |
|
|
A virtual Function. Updates the PointParticles attributes Implements ParticleSystems::Particle. Definition at line 42 of file StrikeParticle.cpp. References ParticleSystems::Solver::nextStep(). |
1.4.1