Sly Engine
Burst Class Reference

#include <Burst.h>

Inheritance diagram for Burst:
Inheritance graph
Collaboration diagram for Burst:
Collaboration graph

Public Member Functions

 Burst ()
 
 Burst (const Burst &)=delete
 
 Burst (Burst &&)=delete
 
Burstoperator= (const Burst &)=delete
 
Burstoperator= (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

ParticleEffectpe
 
Particleparticles
 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
 

Constructor & Destructor Documentation

◆ Burst() [1/4]

Burst::Burst ( )

◆ Burst() [2/4]

Burst::Burst ( const Burst )
delete

◆ Burst() [3/4]

Burst::Burst ( Burst &&  )
delete

◆ ~Burst()

Burst::~Burst ( )
virtual

◆ Burst() [4/4]

Burst::Burst ( ParticleEffect pe,
int  numParticles,
float  expireTime 
)

Member Function Documentation

◆ DrawParticles()

void Burst::DrawParticles ( )
Here is the call graph for this function:

◆ GetEmitterStorageRef()

ParticleEmitter::ParticleEmitterStorageRef Burst::GetEmitterStorageRef ( )
Here is the caller graph for this function:

◆ GetExpiration()

float Burst::GetExpiration ( )
Here is the caller graph for this function:

◆ Initialize()

void Burst::Initialize ( ParticleEffect _pe,
int  numParticles,
float  expireTime,
float  speed,
Vect  pos,
Matrix  rot 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

Burst& Burst::operator= ( Burst &&  )
delete

◆ operator=() [2/2]

Burst& Burst::operator= ( const Burst )
delete

◆ SetEmitterStorageRef()

void Burst::SetEmitterStorageRef ( ParticleEmitter::ParticleEmitterStorageRef  newRef)
Here is the caller graph for this function:

Member Data Documentation

◆ currColor

Vect Burst::currColor
private

Computed by emitter.

◆ currScale

Vect Burst::currScale
private

Computed by emitter.

◆ emitterStorageRef

ParticleEmitter::ParticleEmitterStorageRef Burst::emitterStorageRef
private

◆ expireTime

float Burst::expireTime
private

Time left will need to be updated for every frame by the emitter.

◆ myDeleteRef

BurstFactory::StorageRef Burst::myDeleteRef

◆ numParticles

int Burst::numParticles
private

◆ particles

Particle* Burst::particles
private

Array of particles.

◆ pe

ParticleEffect* Burst::pe
private

The documentation for this class was generated from the following files: