implemented a new object factory mechanism which is now really independent of the...
[supertux.git] / src / object / coin.h
index fd827ed..02fbe57 100644 (file)
@@ -2,6 +2,7 @@
 #define __COIN_H__
 
 #include "special/moving_object.h"
+#include "lisp/lisp.h"
 
 namespace SuperTux {
   class Sprite;
@@ -13,6 +14,7 @@ class Coin : public MovingObject
 {
 public:
   Coin(const Vector& pos);
+  Coin(const lisp::Lisp& reader);
   ~Coin();
 
   HitResponse collision(GameObject& other, const CollisionHit& hit);