From d20633705e53a122467fb39fdbb2de3cfec279f7 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 14 Jan 2017 12:48:49 -0500 Subject: thread work --- include/particle.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/particle.hpp b/include/particle.hpp index 55228c0..48a8938 100644 --- a/include/particle.hpp +++ b/include/particle.hpp @@ -17,13 +17,13 @@ enum class ParticleType : char { struct Particle { int timeLeft; + ParticleType type; vec2 velocity; vec2 location; - ParticleType type; vec2 color; // assets/colorIndex.png Particle(vec2 p, ParticleType t, int tl, vec2 c) - : timeLeft(tl), location(p), type(t), color(c) {} + : timeLeft(tl), type(t), location(p), color(c) {} }; class ParticleSystem : public entityx::System { -- cgit v1.2.3