jubilant-funicular
Public Member Functions | Private Attributes | List of all members
nta::ParticleEngine2D Class Reference

Responsible for handling multiple particle batches. More...

#include <ParticleEngine2D.h>

Collaboration diagram for nta::ParticleEngine2D:
Collaboration graph
[legend]

Public Member Functions

 ParticleEngine2D ()
 basic constructor
 
 ~ParticleEngine2D ()
 deletes batches
 
void addBatch (ParticleBatch2D *batch)
 adds a batch
 
void draw (SpriteBatch &batch) const
 renders all batches
 
void update (float dt) const
 updates all batches
 

Private Attributes

std::vector< ParticleBatch2D * > m_batches
 the particle batches
 

Detailed Description

Responsible for handling multiple particle batches.

Definition at line 10 of file ParticleEngine2D.h.


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