#ifndef ANIMATION_HH #define ANIMATION_HH class Animation { public: virtual ~Animation() {} // Return true if animation is still active, value is always set virtual bool tick(double duration, double* value) = 0; protected: Animation() {} Animation(Animation const&) = delete; Animation& operator=(Animation const&) = delete; }; #endif // ANIMATION_HH