diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-03 19:41:23 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:54 +0200 |
commit | 93123e97251fc791c1cac193d675cce9a1ac2de6 (patch) | |
tree | 4486453695d6f715e767bd91bcee89c92f54f7ba /src/interfaces | |
parent | 70b21e90d7be4d892b7d17440d64630e7ee1a575 (diff) |
feat: add moving cursor
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/direction.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
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 <cstddef> + +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; +}; |