X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fsprite_particle.hpp;h=dba9caaffb08932a35239dfea70917d251531c68;hb=5745d9670262c91e6cd35363fd0d2ec169e7c8a4;hp=786b4a216991b6bec12b7e4975af4314134320dd;hpb=e19e93b038e0feb50d7895371827b24e58de3edd;p=supertux.git diff --git a/src/object/sprite_particle.hpp b/src/object/sprite_particle.hpp index 786b4a216..dba9caaff 100644 --- a/src/object/sprite_particle.hpp +++ b/src/object/sprite_particle.hpp @@ -1,4 +1,4 @@ -// $Id: rainsplash.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio $ +// $Id$ // // SuperTux // Copyright (C) 2006 Matthias Braun @@ -33,9 +33,9 @@ class SpriteParticle : public GameObject { public: - SpriteParticle(std::string sprite_name, Vector position, AnchorPoint anchor, Vector velocity, Vector acceleration, int drawing_layer = LAYER_OBJECTS-1); + SpriteParticle(std::string sprite_name, std::string action, Vector position, AnchorPoint anchor, Vector velocity, Vector acceleration, int drawing_layer = LAYER_OBJECTS-1); ~SpriteParticle(); -protected: +protected: virtual void hit(Player& player); virtual void update(float elapsed_time); virtual void draw(DrawingContext& context); @@ -48,4 +48,3 @@ private: }; #endif -