+
+ /**
+ * runs a script in the context of the worldmap (and keeps a reference to
+ * the script (so the script gets destroyed when the worldmap is destroyed)
+ */
+ HSQUIRRELVM run_script(std::istream& in, const std::string& sourcename);
+
+ /**
+ * switch to another worldmap.
+ * filename is relative to data root path
+ */
+ void change(const std::string& filename, const std::string& force_spawnpoint="");
+
+ /**
+ * moves Tux to the given spawnpoint
+ */
+ void move_to_spawnpoint(const std::string& spawnpoint, bool pan =false);
+
+ /**
+ * returns the width (in tiles) of a worldmap
+ */
+ float get_width() const;
+
+ /**
+ * returns the height (in tiles) of a worldmap
+ */
+ float get_height() const;