add code to debug collision rectangles
[supertux.git] / src / object / camera.hpp
index 0be750e..ed7b5a7 100644 (file)
@@ -28,6 +28,7 @@
 #include "video/drawing_context.hpp"
 #include "serializable.hpp"
 #include "timer.hpp"
+#include "script_interface.hpp"
 
 namespace lisp {
 class Lisp;
@@ -37,7 +38,7 @@ class Sector;
 class Path;
 class PathWalker;
 
-class Camera : public GameObject, public Serializable
+class Camera : public GameObject, public Serializable, public ScriptInterface
 {
 public:
   Camera(Sector* sector);
@@ -60,6 +61,9 @@ public:
   {
   }
 
+  virtual void expose(HSQUIRRELVM vm, int table_idx);
+  virtual void unexpose(HSQUIRRELVM vm, int table_idx);
+
   // shake camera in a direction 1 time
   void shake(float speed, float x, float y);