diff options
Diffstat (limited to 'src/engine/user/cursor.hpp')
-rw-r--r-- | src/engine/user/cursor.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine/user/cursor.hpp b/src/engine/user/cursor.hpp index de8c3ae..199c86b 100644 --- a/src/engine/user/cursor.hpp +++ b/src/engine/user/cursor.hpp @@ -2,6 +2,7 @@ #include "interfaces/cursor.hpp" +#include "engine/data/bounds.hpp" #include "engine/data/vector2.hpp" #include <fmt/core.h> @@ -48,6 +49,12 @@ public: void show() noexcept override; + void set_bounds(const Bounds &bounds) noexcept override; + private: Vector2 _position; + Bounds _bounds; + + [[nodiscard]] auto _invert_position_y(const Vector2 &position) const noexcept + -> Vector2; }; |