diff options
Diffstat (limited to 'src/rotationalparticle.h')
-rw-r--r-- | src/rotationalparticle.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rotationalparticle.h b/src/rotationalparticle.h index 465be989..cf068835 100644 --- a/src/rotationalparticle.h +++ b/src/rotationalparticle.h @@ -23,6 +23,7 @@ #define ROTATIONAL_PARTICLE_H #include "imageparticle.h" +#include "simpleanimation.h" #include <libxml/tree.h> @@ -33,17 +34,17 @@ class SimpleAnimation; class RotationalParticle : public ImageParticle { public: - RotationalParticle(Map *map, Animation *animation); + RotationalParticle(Map *map, Animation animation); RotationalParticle(Map *map, xmlNodePtr animationNode, - const std::string& dyePalettes = std::string()); + const std::string &dyePalettes = std::string()); ~RotationalParticle() override; bool update() override; private: - SimpleAnimation *mAnimation; /**< Used animation for this particle */ + SimpleAnimation mAnimation; /**< Used animation for this particle */ }; #endif |