copy/paste partially. z-index experiments, but not working yet.

This commit is contained in:
Sebastian
2024-11-21 02:03:32 +01:00
parent df91a1b107
commit bfc14d5f6e
10 changed files with 172 additions and 139 deletions
+5 -2
View File
@@ -5,10 +5,13 @@ namespace VISEQ::BASE {
class Interactable{
public:
Interactable() {}
Interactable() {z_index++;}
virtual ~Interactable() {}
bool is_hovering = false;
inline static bool is_hovering = false;
inline static int z_index = 0;
inline static int z_hovering = 0;
virtual bool hovering() = 0;
virtual bool entered() {return false;};