blob: 77c5096ce11846bc2cc3c42cabbe1851f558543c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "engine/data/vector2.hpp"
#include <memory>
class ICursorController
{
public:
virtual ~ICursorController() noexcept = default;
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;
virtual void ensure_position() noexcept = 0;
static void hide() noexcept;
static void show() noexcept;
};
|