Added maps

This commit is contained in:
Brady Bodily
2020-12-10 14:44:11 -07:00
parent 1cdf498800
commit 42dd13f7d6
16 changed files with 137 additions and 31 deletions

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public class HexCell
{
}
}

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public class HexMap
{
}
}

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public interface IHexCell
{
}
}

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public interface IHexMap
{
}
}

View File

@@ -7,5 +7,6 @@ namespace ConsoleApp
int Height { get; }
int Width { get; }
SquareMap SquareMap { get; }
void GenerateMaps(int x, int y);
}
}

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public interface ISquareCell
{
}
}

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public interface ISquareMap
{
}
}

View File

@@ -6,6 +6,16 @@ namespace ConsoleApp
private int _defaultWidth;
public int Height { get; protected set; }
public int Width { get; protected set; }
public SquareMap SquareMap { get; }
public HexMap HexMap { get; }
public void GenerateMaps(int x, int y)
{
Width = x;
Height = y;
throw new System.NotImplementedException();
}
public MapFactory()
{
@@ -14,16 +24,6 @@ namespace ConsoleApp
Height = _defaultHeight;
Width = _defaultWidth;
}
void CreateMaps(int height, int width)
{
Height = height;
Width = width;
}
void CreateMaps()
{
}
}
}

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public class SquareCell
{
}
}

View File

@@ -0,0 +1,7 @@
namespace ConsoleApp
{
public class SquareMap
{
}
}