Added a common set of bridge funcs for Leveleditor and Sector to create game objects.
[supertux.git] / src / object / coin.h
index a4157a4..fd827ed 100644 (file)
@@ -15,9 +15,11 @@ public:
   Coin(const Vector& pos);
   ~Coin();
 
-  virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
-  virtual void action(float elapsed_time);
-  virtual void draw(DrawingContext& context);
+  HitResponse collision(GameObject& other, const CollisionHit& hit);
+  void action(float elapsed_time);
+  void draw(DrawingContext& context);
+
+  void collect();
 
 private:
   Sprite* sprite;