diff options
Diffstat (limited to 'src/screens/mainMenu.h')
-rw-r--r-- | src/screens/mainMenu.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/screens/mainMenu.h b/src/screens/mainMenu.h new file mode 100644 index 0000000..c8bae78 --- /dev/null +++ b/src/screens/mainMenu.h @@ -0,0 +1,18 @@ +#include "gameCommon.h" + +#ifndef MAIN_MENU_H +#define MAIN_MENU_H + +typedef struct MainMenu { + Vector2 logoPosition; + Texture2D * logoTexture; + + Rectangle startButton; + Rectangle howToPlayButton; +} MainMenu; + +void initMainMenu(Game * game); +void updateMainMenu(Game * game); +void resizeMainMenu(Game * game, MainMenu * mainMenu); + +#endif |