Files
robot_intelligence_final_pr…/ConsoleApp/Maps/Cell.cs
2020-12-16 17:19:25 -07:00

28 lines
570 B
C#

using System;
namespace ConsoleApp.Maps
{
public enum Coverage
{
//Order here matters these are cast to ints for the heuristic algorithm
Uncovered,
Covered
}
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.Uncovered;
Blocked = false;
}
}
}