X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsupertux%2Flevel.hpp;h=fcc10578d6d1ee7b0b1c34e469de34b5b95cfc1a;hb=2fee8cb489f155b847abb2fd90580c4cab5f3cda;hp=b2b8dd9379fccfd06f2f48acff46b581c6ee6bb8;hpb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;p=supertux.git diff --git a/src/supertux/level.hpp b/src/supertux/level.hpp index b2b8dd937..fcc10578d 100644 --- a/src/supertux/level.hpp +++ b/src/supertux/level.hpp @@ -41,6 +41,7 @@ public: std::string on_menukey_script; Sectors sectors; Statistics stats; + float target_time; TileSet *tileset; bool free_tileset; @@ -61,8 +62,8 @@ public: Sector* get_sector(const std::string& name); - size_t get_sector_count(); - Sector* get_sector(size_t num); + size_t get_sector_count() const; + Sector* get_sector(size_t num) const; const TileSet *get_tileset() const { return tileset; }