This commit is contained in:
2020-12-10 20:15:09 -07:00
parent bd7264f893
commit 7f0cb10198
5 changed files with 4 additions and 17 deletions
+1 -1
View File
@@ -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; }
+2 -2
View File
@@ -17,9 +17,9 @@ namespace ConsoleApp.Maps
}
}
public List<HexCell> PossibleMoves(HexCell fromCell, Direction direction, Double orientation)
public List<ICell> PossibleMoves(HexCell fromCell, Direction direction, Double orientation)
{
throw new NotImplementedException();
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
namespace ConsoleApp.Maps
{
public interface IHexCell
public interface IHexCell : ICell
{
}
-7
View File
@@ -1,7 +0,0 @@
namespace ConsoleApp.Maps
{
public interface IMapManager
{
}
}
-6
View File
@@ -1,6 +0,0 @@
namespace ConsoleApp.Maps
{
public class MapManager : IMapManager
{
}
}