diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-26 17:56:17 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-26 17:56:17 +0000 |
commit | 0347f1363b12e71518efaf4f54df7c3e348539a5 (patch) | |
tree | 4f1b5eadbec02b2763136990de8a32308bc310a6 /src/gameScreen.h | |
parent | 08450f4bc90c77738f0fa35848d35e23ca8c5d63 (diff) | |
download | PenguinYippies-0347f1363b12e71518efaf4f54df7c3e348539a5.tar.gz PenguinYippies-0347f1363b12e71518efaf4f54df7c3e348539a5.tar.bz2 PenguinYippies-0347f1363b12e71518efaf4f54df7c3e348539a5.zip |
Added tool bar
Diffstat (limited to 'src/gameScreen.h')
-rw-r--r-- | src/gameScreen.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gameScreen.h b/src/gameScreen.h index e25af53..2b34a05 100644 --- a/src/gameScreen.h +++ b/src/gameScreen.h @@ -12,6 +12,13 @@ typedef enum GamePlayPlace { SHOP_PLACE } GamePlayPlace; +typedef enum ToolId { + CLICKER_TOOL, + BOOPER_TOOL +} ToolId; + +#define TOOL_COUNT 2 + typedef struct GameScreen { GamePlayPlace place; @@ -19,10 +26,14 @@ typedef struct GameScreen { TexturedButton toEmperorsEmporiumButton; Shop shop; + + ToolId tool; } GameScreen; void initGameScreen(GameScreen* gameScreen, Game* game); void updateGameScreen(GameScreen* gameScreen, Game* game); void closeGameScreen(GameScreen* gameScreen); +void setGameScreenTool(GameScreen* gameScreen, ToolId tool); + #endif |