diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-08 17:42:07 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-08 17:42:07 -0500 |
commit | eb6f6d035f0b4324d881f5057639474095a02858 (patch) | |
tree | bfacf7413fa86e24f6c5d1a6948075813bc09048 /include/particle.hpp | |
parent | c62c4eef57b78a8d5bf18cb3b2e8acfbc6cc30b6 (diff) |
particle textures fixed
Diffstat (limited to 'include/particle.hpp')
-rw-r--r-- | include/particle.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/particle.hpp b/include/particle.hpp index a022583..63f23e3 100644 --- a/include/particle.hpp +++ b/include/particle.hpp @@ -19,8 +19,10 @@ struct Particle { ParticleType type; int timeLeft; + //const Texture& color; // TODO + Particle(vec2 p, ParticleType t = ParticleType::Drop, int tl = 3000) - : location(p), type(t), timeLeft(tl) {} // TODO times + : location(p), type(t), timeLeft(tl) {} } __attribute__ ((packed)); class ParticleSystem : public entityx::System<ParticleSystem> { |