aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ParticleSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/ParticleSystem.h')
-rw-r--r--src/crepe/ParticleSystem.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/crepe/ParticleSystem.h b/src/crepe/ParticleSystem.h
index 313e1dd..071eec4 100644
--- a/src/crepe/ParticleSystem.h
+++ b/src/crepe/ParticleSystem.h
@@ -1,19 +1,19 @@
#pragma once
-#include <vector>
#include "api/ParticleEmitter.h"
-
+#include <vector>
namespace crepe {
class ParticleSystem {
public:
- ParticleSystem();
- void update();
+ ParticleSystem();
+ void update();
+
private:
- void emitParticle(ParticleEmitter &emitter); //emits a new particle
+ void emit_particle(ParticleEmitter & emitter); //emits a new particle
- float m_elapsedTime; //elapsed time since the last emission
+ float m_elapsed_time; //elapsed time since the last emission
};
-}
+} // namespace crepe