aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/direction.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-07 20:20:18 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:55 +0200
commitf0824fdebc79fbf3843c2053522107c33e3ce2a3 (patch)
treee5bd34fa89cbe80cf8a30596766cf95098465aec /src/interfaces/direction.hpp
parent12fffa7df0685ef6d23ffe888a06695ae490df81 (diff)
refactor: move directions to vector2 & make vector2 hashable
Diffstat (limited to 'src/interfaces/direction.hpp')
-rw-r--r--src/interfaces/direction.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/interfaces/direction.hpp b/src/interfaces/direction.hpp
deleted file mode 100644
index 233f17d..0000000
--- a/src/interfaces/direction.hpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#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;
-};