aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/cursor.hpp
blob: adab5249a6f0cc01430a434f7db51c358fdbb5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
};