[Updated] Backgrounds to display the desired portion of the image, [Added] Start of the Game class

This commit is contained in:
Ninjaws
2024-12-09 22:29:08 +01:00
parent 76dd80d3a3
commit cbf6e658ea
15 changed files with 323 additions and 143 deletions
+4
View File
@@ -2,10 +2,13 @@
#define MAIN_SCREEN_H
#include "Screen.h"
#include <vector>
#include "Text.h"
class MainScreen : public Screen {
private:
int hoveredButton = 0;
std::vector<Text> buttons;
void mouseLogic();
void keyboardLogic();
@@ -15,6 +18,7 @@ public:
MainScreen();
void logic() override;
void draw() override;
};
#endif