diff options
author | Oxore <oxore@protonmail.com> | 2017-12-01 07:25:32 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2017-12-01 07:25:32 +0300 |
commit | cd92a5171dd67b795a6fed4c2e635aed8262a876 (patch) | |
tree | bee6d7275ab7a1d927e4e08052b0f59d7af5e9fc /include/common.h | |
parent | cd02c513c69bd25d1dc214b60048ef85c9bd6917 (diff) |
More structure wrapping, more refactoring
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 6 |
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; |