[Added] Mouselogic, to navigate the menu with the mouse

This commit is contained in:
Ninjaws
2024-12-08 14:46:47 +01:00
parent 22ac2c732e
commit 83d1d622ee
11 changed files with 99 additions and 31 deletions
+8 -3
View File
@@ -30,13 +30,18 @@ class Text {
this->color = color;
}
void setText(std::string text) {
this->text = text;
}
Vector2 getPosition() {
return position;
}
std::string getText() {
return this->text;
}
void setText(std::string text) {
this->text = text;
}
void draw();
};