first very unfinished and unpolished version of the intro
[supertux.git] / src / object / scripted_object.hpp
index 507466a..699a054 100644 (file)
@@ -20,8 +20,8 @@ public:
 
   // --- Scripting Interface stuff ---
 
-  void set_animation(const std::string& animation);
-  std::string get_animation();
+  void set_action(const std::string& animation);
+  std::string get_action();
 
   void move(float x, float y);
   void set_pos(float x, float y);
@@ -41,6 +41,7 @@ private:
   bool physic_enabled;
   bool visible;
   bool new_vel_set;
+  int layer;
   Vector new_vel;
   Physic physic;
   Sprite* sprite;