From 7f0cb10198de350be552260fad65b8dc1f29cabf Mon Sep 17 00:00:00 2001 From: Brady Bodily Date: Thu, 10 Dec 2020 20:15:09 -0700 Subject: [PATCH] Backup --- ConsoleApp/Maps/HexCell.cs | 2 +- ConsoleApp/Maps/HexMap.cs | 4 ++-- ConsoleApp/Maps/IHexCell.cs | 2 +- ConsoleApp/Maps/IMapManager.cs | 7 ------- ConsoleApp/Maps/MapManager.cs | 6 ------ 5 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 ConsoleApp/Maps/IMapManager.cs delete mode 100644 ConsoleApp/Maps/MapManager.cs diff --git a/ConsoleApp/Maps/HexCell.cs b/ConsoleApp/Maps/HexCell.cs index 4dd5d93..8466a88 100644 --- a/ConsoleApp/Maps/HexCell.cs +++ b/ConsoleApp/Maps/HexCell.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; namespace ConsoleApp.Maps { - public struct HexCell + public struct HexCell : IHexCell { public int Q { get; } public int R { get; } diff --git a/ConsoleApp/Maps/HexMap.cs b/ConsoleApp/Maps/HexMap.cs index bc29f22..2ed8bd6 100644 --- a/ConsoleApp/Maps/HexMap.cs +++ b/ConsoleApp/Maps/HexMap.cs @@ -17,9 +17,9 @@ namespace ConsoleApp.Maps } } - public List PossibleMoves(HexCell fromCell, Direction direction, Double orientation) + public List PossibleMoves(HexCell fromCell, Direction direction, Double orientation) { - + throw new NotImplementedException(); } } } \ No newline at end of file diff --git a/ConsoleApp/Maps/IHexCell.cs b/ConsoleApp/Maps/IHexCell.cs index b4a8d99..29fd15e 100644 --- a/ConsoleApp/Maps/IHexCell.cs +++ b/ConsoleApp/Maps/IHexCell.cs @@ -1,6 +1,6 @@ namespace ConsoleApp.Maps { - public interface IHexCell + public interface IHexCell : ICell { } diff --git a/ConsoleApp/Maps/IMapManager.cs b/ConsoleApp/Maps/IMapManager.cs deleted file mode 100644 index 286faa9..0000000 --- a/ConsoleApp/Maps/IMapManager.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace ConsoleApp.Maps -{ - public interface IMapManager - { - - } -} \ No newline at end of file diff --git a/ConsoleApp/Maps/MapManager.cs b/ConsoleApp/Maps/MapManager.cs deleted file mode 100644 index ebdb476..0000000 --- a/ConsoleApp/Maps/MapManager.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace ConsoleApp.Maps -{ - public class MapManager : IMapManager - { - } -} \ No newline at end of file