From f0824fdebc79fbf3843c2053522107c33e3ce2a3 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 7 Mar 2022 20:20:18 +0100 Subject: refactor: move directions to vector2 & make vector2 hashable --- src/interfaces/direction.hpp | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/interfaces/direction.hpp (limited to 'src/interfaces/direction.hpp') 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 - -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