Renamed namespaces to all lowercase
[supertux.git] / src / supertux / sector.hpp
index ae598d4..80d5c26 100644 (file)
@@ -60,7 +60,7 @@ enum MusicType {
  *
  * Sectors contain GameObjects, e.g. Badguys and Players.
  */
-class Sector : public Scripting::SSector,
+class Sector : public scripting::SSector,
                public Currenton<Sector>
 {
 public:
@@ -179,7 +179,7 @@ public:
   typedef std::vector<SpawnPoint*> SpawnPoints;
   typedef std::vector<Portable*> Portables;
 
-  // --- Scripting ---
+  // --- scripting ---
   /**
    *  get/set color of ambient light
    */
@@ -195,7 +195,6 @@ public:
   float get_gravity() const;
 
 private:
-  Level* level; /**< Parent level containing this sector */
   uint32_t collision_tile_attributes(const Rect& dest) const;
 
   void before_object_remove(GameObject* object);
@@ -235,8 +234,11 @@ private:
 
   void fix_old_tiles();
 
+private:
   static Sector* _current;
 
+  Level* level; /**< Parent level containing this sector */
+
   std::string name;
 
   std::vector<Bullet*> bullets;