diff options
Diffstat (limited to 'src/crepe/Particle.h')
-rw-r--r-- | src/crepe/Particle.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/crepe/Particle.h b/src/crepe/Particle.h index 006986a..6f689bd 100644 --- a/src/crepe/Particle.h +++ b/src/crepe/Particle.h @@ -6,16 +6,15 @@ namespace crepe { class Particle { public: + Position position; + Position velocity; + float lifespan; + bool active; - Position position; - Position velocity; - float lifespan; - bool active; - - Particle(); - void reset(float lifespan, Position position, Position velocity); - void update(float deltaTime); - float timeInLife; + Particle(); + void reset(float lifespan, Position position, Position velocity); + void update(float deltaTime); + float time_in_life; }; -} +} // namespace crepe |