aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/direction.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/direction.hpp')
-rw-r--r--src/interfaces/direction.hpp13
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;
+};