[Updated] Backgrounds to display the desired portion of the image, [Added] Start of the Game class
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user