Note: This file is auto-generated from the SuperTux scripting interface source code, using the template ScriptingPage.md.
This class provides additional controlling functions for a worldmap sector, other than the ones listed at GameObjectManager.
An instance under worldmap.settings
is available from scripts and the console.
Method | Explanation |
---|---|
get_tux_x() |
Gets Tux's X position on the worldmap. |
get_tux_y() |
Gets Tux's Y position on the worldmap. |
set_sector(string sector) |
Changes the current sector of the worldmap to a specified new sector. |
spawn(string sector, string spawnpoint) |
Changes the current sector of the worldmap to a specified new sector, moving Tux to the specified spawnpoint. |
move_to_spawnpoint(string spawnpoint) |
Moves Tux to a specified spawnpoint. |
None.