summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2017-12-01 07:25:32 +0300
committerOxore <oxore@protonmail.com>2017-12-01 07:25:32 +0300
commitcd92a5171dd67b795a6fed4c2e635aed8262a876 (patch)
treebee6d7275ab7a1d927e4e08052b0f59d7af5e9fc /include/common.h
parentcd02c513c69bd25d1dc214b60048ef85c9bd6917 (diff)
More structure wrapping, more refactoring
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 8108e11..5f64a2b 100644
--- a/include/common.h
+++ b/include/common.h
@@ -55,6 +55,12 @@ typedef struct Window {
sfEvent event;
} Window;
+typedef struct Game {
+ int isStarted;
+ int scoreCurrent;
+ int level;
+} Game;
+
typedef struct Text {
sfFont *font;
sfText *text;