Added maps
This commit is contained in:
7
ConsoleApp/Maps/HexCell.cs
Normal file
7
ConsoleApp/Maps/HexCell.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public class HexCell
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/HexMap.cs
Normal file
7
ConsoleApp/Maps/HexMap.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public class HexMap
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/IHexCell.cs
Normal file
7
ConsoleApp/Maps/IHexCell.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public interface IHexCell
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/IHexMap.cs
Normal file
7
ConsoleApp/Maps/IHexMap.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public interface IHexMap
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -7,5 +7,6 @@ namespace ConsoleApp
|
||||
int Height { get; }
|
||||
int Width { get; }
|
||||
SquareMap SquareMap { get; }
|
||||
void GenerateMaps(int x, int y);
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/ISquareCell.cs
Normal file
7
ConsoleApp/Maps/ISquareCell.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public interface ISquareCell
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/ISquareMap.cs
Normal file
7
ConsoleApp/Maps/ISquareMap.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public interface ISquareMap
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/SquareCell.cs
Normal file
7
ConsoleApp/Maps/SquareCell.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public class SquareCell
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
ConsoleApp/Maps/SquareMap.cs
Normal file
7
ConsoleApp/Maps/SquareMap.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace ConsoleApp
|
||||
{
|
||||
public class SquareMap
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user