X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsupertux%2Fgame_session.hpp;h=5356ee130d61a578d01b4db972d5f2705b75f514;hb=590805b8b24971ca43f777abfbf79fce21792804;hp=0499e2d32e8490edbe114353f9a212c08892b19a;hpb=c0e497c19521c1868f44c0fd21bbf666a66654be;p=supertux.git diff --git a/src/supertux/game_session.hpp b/src/supertux/game_session.hpp index 0499e2d32..5356ee130 100644 --- a/src/supertux/game_session.hpp +++ b/src/supertux/game_session.hpp @@ -83,6 +83,7 @@ public: void toggle_pause(); void abort_level(); + bool is_active() const; /** * Enters or leaves level editor mode @@ -151,6 +152,8 @@ private: BonusType bonus_at_start; /** What bonuses does the player have at the start */ int max_fire_bullets_at_start; /** How many fire bullets does the player have */ int max_ice_bullets_at_start; /** How many ice bullets does the player have */ + + bool active; /** Game active? **/ private: GameSession(const GameSession&);