Пример #1
0
 public void SetStart(LightCell maze_cell)
 {
     start = maze_cell;
     if (maze_cell.IsBlocked())
     {
         maze_cell.SetCost(1);
     }
 }
Пример #2
0
 public void SetGoal(LightCell maze_cell)
 {
     goal = maze_cell;
     if (maze_cell.IsBlocked())
     {
         maze_cell.SetCost(1);
     }
 }