Sly Engine
|
#include <Burst.h>
Public Member Functions | |
Burst () | |
Burst (const Burst &)=delete | |
Burst (Burst &&)=delete | |
Burst & | operator= (const Burst &)=delete |
Burst & | operator= (Burst &&)=delete |
virtual | ~Burst () |
void | Initialize (ParticleEffect *_pe, int numParticles, float expireTime, float speed, Vect pos, Matrix rot) |
Burst (ParticleEffect *pe, int numParticles, float expireTime) | |
float | GetExpiration () |
void | DrawParticles () |
void | SetEmitterStorageRef (ParticleEmitter::ParticleEmitterStorageRef newRef) |
ParticleEmitter::ParticleEmitterStorageRef | GetEmitterStorageRef () |
Public Attributes | |
BurstFactory::StorageRef | myDeleteRef |
Private Attributes | |
ParticleEffect * | pe |
Particle * | particles |
Array of particles. More... | |
Vect | currColor |
Computed by emitter. More... | |
Vect | currScale |
Computed by emitter. More... | |
float | expireTime |
Time left will need to be updated for every frame by the emitter. More... | |
int | numParticles |
ParticleEmitter::ParticleEmitterStorageRef | emitterStorageRef |
Burst::Burst | ( | ) |
|
delete |
|
delete |
|
virtual |
Burst::Burst | ( | ParticleEffect * | pe, |
int | numParticles, | ||
float | expireTime | ||
) |
void Burst::DrawParticles | ( | ) |
ParticleEmitter::ParticleEmitterStorageRef Burst::GetEmitterStorageRef | ( | ) |
float Burst::GetExpiration | ( | ) |
void Burst::Initialize | ( | ParticleEffect * | _pe, |
int | numParticles, | ||
float | expireTime, | ||
float | speed, | ||
Vect | pos, | ||
Matrix | rot | ||
) |
void Burst::SetEmitterStorageRef | ( | ParticleEmitter::ParticleEmitterStorageRef | newRef | ) |
|
private |
Computed by emitter.
|
private |
Computed by emitter.
|
private |
|
private |
Time left will need to be updated for every frame by the emitter.
BurstFactory::StorageRef Burst::myDeleteRef |
|
private |
|
private |
Array of particles.
|
private |