The BIG COMMIT(tm)
[supertux.git] / src / object / coin.h
1 #ifndef __COIN_H__
2 #define __COIN_H__
3
4 #include "special/moving_object.h"
5
6 namespace SuperTux {
7   class Sprite;
8 }
9
10 using namespace SuperTux;
11
12 class Coin : public MovingObject
13 {
14 public:
15   Coin(const Vector& pos);
16   ~Coin();
17
18   virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
19   virtual void action(float elapsed_time);
20   virtual void draw(DrawingContext& context);
21
22 private:
23   Sprite* sprite;
24 };
25
26 #endif
27