From 9a9a0e090190dc7a2dba833d1d4efa8417283edc Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 24 Dec 2021 19:53:16 +0100 Subject: Overall cleaning and restructuring using commands --- src/game.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/game.h (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h new file mode 100644 index 0000000..118d642 --- /dev/null +++ b/src/game.h @@ -0,0 +1,19 @@ +#ifndef GAME_H +#define GAME_H + +class GameState{ + + private: + bool closed_; + bool paused_; + + public: + GameState(); + void close(); + void resume(); + void pause(); + bool isClosed(); + bool isPaused(); +}; + +#endif -- cgit v1.2.3