Color GetColor(GridCellType type)
{
switch (type)
{
case GridCellType.Walkable: return Color.Gray;
case GridCellType.Unwalkable: return Color.Black;
case GridCellType.Source: return Color.Green;
case GridCellType.Destination: return Color.Red;
case GridCellType.Path: return Color.Yellow;
default: return Color.CornflowerBlue;
}
}