#pragma once #include #include "ParticleEmitter.h" namespace crepe { class ParticleSystem { public: ParticleSystem(); void update(float deltaTime, std::vector& emitters); private: void emitParticle(ParticleEmitter &emitter); //emits a new particle float m_elapsedTime; //elapsed time since the last emission }; }