check in configure if xgettext supports lisp
[supertux.git] / src / object / specialriser.h
1 #ifndef __SPECIALRISE_H__
2 #define __SPECIALRISE_H__
3
4 #include "special/moving_object.h"
5
6 using namespace SuperTux;
7
8 /**
9  * special object that contains another object and slowly rises it out of a
10  * bonus block.
11  */
12 class SpecialRiser : public GameObject
13 {
14 public:
15   SpecialRiser(MovingObject* child);
16   ~SpecialRiser();
17
18   virtual void action(float elapsed_time);
19   virtual void draw(DrawingContext& context);
20
21 private:
22   float offset;
23   MovingObject* child;
24 };
25
26 #endif
27