diff options
Diffstat (limited to 'src/interfaces/cursor.hpp')
-rw-r--r-- | src/interfaces/cursor.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/interfaces/cursor.hpp b/src/interfaces/cursor.hpp new file mode 100644 index 0000000..adab524 --- /dev/null +++ b/src/interfaces/cursor.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "engine/data/vector2.hpp" + +class ICursorController +{ +public: + virtual void move(const Vector2 &direction, const uint32_t &amount) noexcept = 0; + + virtual void move_to(const Vector2 &position) noexcept = 0; + + [[nodiscard]] virtual Vector2 where() const noexcept = 0; + + static void hide(); + + static void show(); +}; |