moved event_queue to state singleton

This commit is contained in:
Sebastian
2026-05-04 18:40:00 +02:00
parent 5886052228
commit 657c23702c
21 changed files with 233 additions and 158 deletions
+3 -9
View File
@@ -24,17 +24,11 @@ namespace VISEQ::BASE {
virtual bool entered() {return false;};
virtual bool exited() {return false;};
virtual bool clicked() {
return hovering() && IsMouseButtonPressed(MOUSE_BUTTON_LEFT);
}
virtual bool clicked();
virtual bool held() {
return IsMouseButtonDown(MOUSE_BUTTON_LEFT);
}
virtual bool held();
virtual bool released() {
return IsMouseButtonReleased(MOUSE_BUTTON_LEFT);
}
virtual bool released();
virtual GRAPH::GraphItemType getType() = 0;
virtual void pickUp() = 0;