void update(float dt) const
updates all batches
Represents a batch of particles of the same "type".
std::vector< ParticleBatch2D * > m_batches
the particle batches
void draw(SpriteBatch &batch) const
renders all batches
void addBatch(ParticleBatch2D *batch)
adds a batch