Done for the night
Need to change planning algo for square to go right to left.
This commit is contained in:
@@ -6,18 +6,14 @@ namespace ConsoleApp.Maps
|
||||
{
|
||||
public int X { get; }
|
||||
public int Y { get; }
|
||||
public int Z { get; }
|
||||
|
||||
public Cell(int x, int y, int z = default)
|
||||
|
||||
public Cell(int x, int y)
|
||||
{
|
||||
if (z != default)
|
||||
{
|
||||
if (x + y + z != 0) throw new ArgumentException("x + y + z must be 0");
|
||||
}
|
||||
|
||||
X = x;
|
||||
Y = y;
|
||||
Z = z;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user