blob: fb77142e711f0c8babab40adab2048fb325954cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#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
|