Added a common set of bridge funcs for Leveleditor and Sector to create game objects.
[supertux.git] / src / object / camera.h
index 2294aa9..45351b6 100644 (file)
@@ -30,9 +30,8 @@
 #include "serializable.h"
 
 using namespace SuperTux;
-
-namespace SuperTux {
-class LispReader;
+namespace lisp {
+class Lisp;
 }
 
 class Sector;
@@ -44,9 +43,9 @@ public:
   virtual ~Camera();
 
   /// parse camera mode from lisp file
-  void parse(LispReader& reader);
+  void parse(const lisp::Lisp& reader);
   /// write camera mode to a lisp file
-  virtual void write(LispWriter& writer);
+  virtual void write(lisp::Writer& writer);
 
   /// reset camera postion
   virtual void reset(const Vector& tuxpos);