Sly Engine
|
#include <ParticleEmitter.h>
Public Types | |
typedef std::list< Burst * >::iterator | ParticleEmitterStorageRef |
Public Member Functions | |
ParticleEmitter ()=default | |
ParticleEmitter (const ParticleEmitter &)=delete | |
ParticleEmitter (ParticleEmitter &&)=delete | |
ParticleEmitter & | operator= (const ParticleEmitter &)=delete |
ParticleEmitter & | operator= (ParticleEmitter &&)=delete |
~ParticleEmitter () | |
ParticleEmitter (ParticleEffect *pe, const Vect &pos, const Matrix &rot) | |
void | Initialize (ParticleEffect *pe, const Vect &pos, const Matrix &rot) |
void | Enter () |
void | NewBurst () |
void | Exit () |
virtual void | Alarm0 () override |
virtual void | Alarm1 () override |
virtual void | Draw () override |
Pure virtual function draw. Derived objects must override. More... | |
ParticleEffect * | GetParticleEffect () |
ParticleEmitterFactory::StorageRef | GetEmitterRef () |
void | SetEmitterRef (ParticleEmitterFactory::StorageRef myRef) |
Public Member Functions inherited from Alarmable | |
Alarmable () | |
Default constructor. More... | |
Alarmable (const Alarmable &)=delete | |
Copy constructor. More... | |
Alarmable (Alarmable &&)=delete | |
Move constructor. More... | |
Alarmable & | operator= (const Alarmable &)=delete |
Assignment operator. More... | |
Alarmable & | operator= (Alarmable &&)=delete |
Move assignment operator. More... | |
virtual | ~Alarmable () |
Deconstructor. More... | |
Public Member Functions inherited from Drawable | |
Drawable () | |
Default constructor. More... | |
Drawable (const Drawable &)=delete | |
Copy constructor. More... | |
Drawable (Drawable &&)=delete | |
Move constructor. More... | |
Drawable & | operator= (const Drawable &)=delete |
Assignment operator. More... | |
Drawable & | operator= (Drawable &&)=delete |
Move assignment operator. More... | |
virtual | ~Drawable () |
Deconstructor. More... | |
Private Member Functions | |
bool | CheckExpiration (Burst *burst) |
Private Attributes | |
std::list< Burst * > | BurstCollection |
ParticleEmitterFactory::StorageRef | myStorageRef |
ParticleEffect * | pParticleEffect |
BurstType * | type |
Matrix | world |
Matrix | rot |
Vect | pos |
float | EmitterLife |
float | BurstCount |
float | BurstFrequency |
bool | active |
Additional Inherited Members | |
Protected Member Functions inherited from Alarmable | |
void | SubmitAlarmRegistration (int id, float t) |
Submit alarm registration. More... | |
void | SubmitAlarmRegistration (AlarmableManager::ALARM_ID id, float t) |
Submit alarm registration. More... | |
void | SubmitAlarmDeregistration (int id) |
Submit alarm deregistration. More... | |
void | SubmitAlarmDeregistration (AlarmableManager::ALARM_ID id) |
Submit alarm deregistration. More... | |
Protected Member Functions inherited from Drawable | |
void | SubmitDrawRegistration () |
Submit draw registration. More... | |
void | SubmitDrawDeregistration () |
Submit draw deregistration. More... | |
typedef std::list<Burst*>::iterator ParticleEmitter::ParticleEmitterStorageRef |
|
default |
|
delete |
|
delete |
ParticleEmitter::~ParticleEmitter | ( | ) |
ParticleEmitter::ParticleEmitter | ( | ParticleEffect * | pe, |
const Vect & | pos, | ||
const Matrix & | rot | ||
) |
|
overridevirtual |
|
overridevirtual |
|
private |
|
overridevirtual |
Pure virtual function draw. Derived objects must override.
Implements Drawable.
void ParticleEmitter::Enter | ( | ) |
void ParticleEmitter::Exit | ( | ) |
ParticleEmitterFactory::StorageRef ParticleEmitter::GetEmitterRef | ( | ) |
ParticleEffect * ParticleEmitter::GetParticleEffect | ( | ) |
void ParticleEmitter::Initialize | ( | ParticleEffect * | pe, |
const Vect & | pos, | ||
const Matrix & | rot | ||
) |
void ParticleEmitter::NewBurst | ( | ) |
|
delete |
|
delete |
void ParticleEmitter::SetEmitterRef | ( | ParticleEmitterFactory::StorageRef | myRef | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |