#include <Particles.h>
Public Member Functions | |
CFlame (int numParticles, float radius, D3DCOLOR color) | |
Standard constructor. | |
void | resetParticle (Attribute *attribute) |
Reset particle to initial position. | |
void | Update (float timeDelta, bool slow, bool follow) |
Moves particle by one frame. |
Flame effect emits particles above magic flowers, making them rise up and disappear.
CFlame::CFlame | ( | int | numParticles, | |
float | radius, | |||
D3DCOLOR | color | |||
) |
Standard constructor.
void CFlame::resetParticle | ( | Attribute * | attribute | ) | [virtual] |
void CFlame::Update | ( | float | timeDelta, | |
bool | trt, | |||
bool | trt2 | |||
) | [virtual] |
Moves particle by one frame.
timeDelta | this parameter is time between frames |
Implements PSystem.