I think its done
This commit is contained in:
@@ -4,20 +4,23 @@ namespace ConsoleApp.Maps
|
||||
{
|
||||
public enum Coverage
|
||||
{
|
||||
Uncoverd,
|
||||
//Order here matters these are cast to ints for the heuristic algorithm
|
||||
Uncovered,
|
||||
Covered
|
||||
}
|
||||
public struct Cell : ICell
|
||||
public class Cell : ICell
|
||||
{
|
||||
public int X { get; }
|
||||
public int Y { get; }
|
||||
public Coverage Coverage { get; set; }
|
||||
public bool Blocked { get; set; }
|
||||
|
||||
public Cell(int x, int y)
|
||||
{
|
||||
X = x;
|
||||
Y = y;
|
||||
Coverage = Coverage.Uncoverd;
|
||||
Coverage = Coverage.Uncovered;
|
||||
Blocked = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user