X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Fparticlesystem_interactive.hpp;h=55bf3c5c02491f7e15f3fec06a04f811a94105e8;hb=a113d3bd1feddd510e3b2852b0d42522735eee40;hp=3bb7313bf51db50115bcf1c5b88ced259224280a;hpb=ff4c6994b952e26b854461d739eb3bcbfc30719f;p=supertux.git diff --git a/src/object/particlesystem_interactive.hpp b/src/object/particlesystem_interactive.hpp index 3bb7313bf..55bf3c5c0 100644 --- a/src/object/particlesystem_interactive.hpp +++ b/src/object/particlesystem_interactive.hpp @@ -50,7 +50,7 @@ class ParticleSystem_Interactive : public GameObject public: ParticleSystem_Interactive(); virtual ~ParticleSystem_Interactive(); - + virtual void draw(DrawingContext& context); protected: @@ -65,7 +65,7 @@ protected: Vector pos; Surface* texture; }; - + std::vector particles; float virtual_width, virtual_height; int collision(Particle* particle, Vector movement); @@ -84,14 +84,14 @@ public: std::string type() const { return "RainParticleSystem"; } - + private: class RainParticle : public Particle { public: float speed; }; - + Surface* rainimages[2]; }; @@ -108,16 +108,15 @@ public: std::string type() const { return "CometParticleSystem"; } - + private: class CometParticle : public Particle { public: float speed; }; - + Surface* cometimages[2]; }; #endif -