this function is not as evil as the comment indicated...
[supertux.git] / src / sector.h
index 8cec44c..5477221 100644 (file)
@@ -73,7 +73,7 @@ public:
   void activate(const std::string& spawnpoint);
   void activate(const Vector& player_pos);
 
-  void action(float elapsed_time);
+  void update(float elapsed_time);
   void update_game_objects();
 
   void draw(DrawingContext& context);
@@ -101,7 +101,7 @@ public:
   bool add_smoke_cloud(const Vector& pos);
   void add_floating_text(const Vector& pos, const std::string& text);
                                                                                 
-  /** @evil@ but can't always be avoided in current design... */
+  /** get currently activated sector. */
   static Sector* current()
   { return _current; }
 
@@ -135,7 +135,6 @@ public:
 private:
   std::vector<Bullet*> bullets;
 
-  ScriptInterpreter* interpreter;
   std::string init_script;
 
 public: // TODO make this private again
@@ -149,7 +148,7 @@ public: // TODO make this private again
 private:
   void fix_old_tiles();
   
-  /// container for newly created objects, they'll be added in Sector::action
+  /// container for newly created objects, they'll be added in Sector::update
   GameObjects gameobjects_new;
  
   MusicType currentmusic;