From cd92a5171dd67b795a6fed4c2e635aed8262a876 Mon Sep 17 00:00:00 2001 From: Oxore Date: Fri, 1 Dec 2017 07:25:32 +0300 Subject: More structure wrapping, more refactoring --- include/common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/common.h') 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; -- cgit v1.2.3