super metroid style camera
[supertux.git] / src / object / text_object.hpp
index 46337ec..20581ad 100644 (file)
@@ -31,11 +31,11 @@ class TextObject : public GameObject, public Scripting::Text,
                    public ScriptInterface
 {
 public:
-  TextObject();
+  TextObject(std::string name = "");
   virtual ~TextObject();
 
-  void expose(HSQUIRRELVM vm, int table_idx);
-  void unexpose(HSQUIRRELVM vm, int table_idx);
+  void expose(HSQUIRRELVM vm, SQInteger table_idx);
+  void unexpose(HSQUIRRELVM vm, SQInteger table_idx);
 
   void set_text(const std::string& text);
   void set_font(const std::string& name);
@@ -58,4 +58,3 @@ private:
 };
 
 #endif
-