summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-12-24 19:53:16 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-12-24 19:53:16 +0100
commit9a9a0e090190dc7a2dba833d1d4efa8417283edc (patch)
tree4ba43ee254a1362e8400d4a78f6fcaa5c6f3b12b /src/game.h
parent4eee72704bd85db58981636109fdb456eb78a3c1 (diff)
Overall cleaning and restructuring using commands
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h19
1 files changed, 19 insertions, 0 deletions
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