Renamed namespaces to all lowercase
[supertux.git] / src / worldmap / level.hpp
index 5abf3c0..b4961b4 100644 (file)
 
 class Sprite;
 
-namespace WorldMapNS {
+namespace worldmap {
 
 class LevelTile : public GameObject
 {
 public:
-  LevelTile(const std::string& basedir, const lisp::Lisp* lisp);
+  LevelTile(const std::string& basedir, const Reader& lisp);
   virtual ~LevelTile();
 
   virtual void draw(DrawingContext& context);
   virtual void update(float elapsed_time);
 
+  /** return Surface of level picture or 0 if no picture is available */
+  const Surface* get_picture();
+
+public:
   Vector pos;
   std::string title;
   bool solved;
@@ -52,9 +56,6 @@ public:
   /** Script that is run when the level is successfully finished */
   std::string extro_script;
 
-  /** return Surface of level picture or 0 if no picture is available */
-  const Surface* get_picture();
-
 private:
   std::string basedir;
   bool picture_cached;
@@ -65,7 +66,7 @@ private:
   LevelTile& operator=(const LevelTile&);
 };
 
-} // namespace WorldMapNS
+} // namespace worldmap
 
 #endif