interactable base class
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
namespace VISEQ::BASE {
|
||||
|
||||
class Interactable{
|
||||
public:
|
||||
Interactable() {}
|
||||
virtual ~Interactable() {}
|
||||
|
||||
virtual bool hovering();
|
||||
|
||||
virtual bool clicked();
|
||||
virtual bool held();
|
||||
virtual bool pickedUp();
|
||||
virtual bool released();
|
||||
};
|
||||
|
||||
}
|
||||
+1
-1
@@ -292,7 +292,7 @@ int main(){
|
||||
{
|
||||
DrawCircleV(node_menu_position, 30, VS_COLOR_LIGHTGREY);
|
||||
DrawCircleLines(node_menu_position.x, node_menu_position.y, 32, VS_COLOR_DARKGREY);
|
||||
|
||||
|
||||
}
|
||||
case InteractionState::DRAW_SELECTION:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user