From 93123e97251fc791c1cac193d675cce9a1ac2de6 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 3 Mar 2022 19:41:23 +0100 Subject: feat: add moving cursor --- src/interfaces/direction.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/interfaces/direction.hpp (limited to 'src/interfaces') diff --git a/src/interfaces/direction.hpp b/src/interfaces/direction.hpp new file mode 100644 index 0000000..233f17d --- /dev/null +++ b/src/interfaces/direction.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include + +struct Direction +{ + using value_type = std::size_t; + + static constexpr value_type UP = 0U; + static constexpr value_type DOWN = 1U; + static constexpr value_type LEFT = 2U; + static constexpr value_type RIGHT = 3U; +}; -- cgit v1.2.3-18-g5258