diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-14 12:48:49 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-14 12:48:49 -0500 |
commit | d20633705e53a122467fb39fdbb2de3cfec279f7 (patch) | |
tree | db9d18f65b0461f183bfe38ca07521b4fdcbcce4 /include | |
parent | 3da25ab8c6ad1b52b808bfeffc0ad1b32621cfac (diff) |
thread work
Diffstat (limited to 'include')
-rw-r--r-- | include/particle.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<ParticleSystem> { |