X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgame_session.hpp;h=3c5e5dbab5ce26cf80f98080cedf2ae5383c1c54;hb=339968d0eb222f5cad1397580631ab44acf40b10;hp=59a4642806954ec9addfcbe4d5a61c8b2412b893;hpb=d41074beb3da03264ec115c29ff502729477bf87;p=supertux.git diff --git a/src/game_session.hpp b/src/game_session.hpp index 59a464280..3c5e5dbab 100644 --- a/src/game_session.hpp +++ b/src/game_session.hpp @@ -62,8 +62,14 @@ public: void finish(bool win = true); void respawn(const std::string& sectorname, const std::string& spawnpointname); void set_reset_point(const std::string& sectorname, const Vector& pos); - void display_info_box(const std::string& text); + std::string get_reset_point_sectorname() + { return reset_sector; } + Vector get_reset_point_pos() + { return reset_pos; } + + void display_info_box(const std::string& text); + Sector* get_current_sector() { return currentsector; } @@ -146,4 +152,3 @@ private: }; #endif /*SUPERTUX_GAMELOOP_H*/ -