diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 02:06:49 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 02:06:49 -0700 |
commit | 18c26edd6bae8ce5bd26e0ab632086725f492871 (patch) | |
tree | 9835eaaf1c06be3f313ca92aa3f1dcb8577b56ad /src/screens/mainMenu.h | |
parent | 35ccb272571efd684f050e579092ccb290a39c89 (diff) |
Moved the screens to a better place
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 |