wip rework of interaction event system - broken right now
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "selectable.h"
|
||||
#include "state.h"
|
||||
#include "vmath.h"
|
||||
#include <chrono>
|
||||
|
||||
namespace VISEQ::BASE {
|
||||
class Draggable : public Movable, public Selectable{
|
||||
@@ -19,8 +20,11 @@ namespace VISEQ::BASE {
|
||||
|
||||
bool picked_up = false;
|
||||
|
||||
std::chrono::time_point<std::chrono::high_resolution_clock> last_tp;
|
||||
|
||||
virtual bool entered() override;
|
||||
virtual bool exited() override;
|
||||
virtual bool clicked() override;
|
||||
virtual bool pickedUp();
|
||||
virtual void pickUp() override;
|
||||
virtual void pickUp(Vec2Df selection_origin) override;
|
||||
|
||||
Reference in New Issue
Block a user