copy/paste partially. z-index experiments, but not working yet.
This commit is contained in:
+5
-2
@@ -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;};
|
||||
|
||||
Reference in New Issue
Block a user