Skip to content

Commit 34fa256

Browse files
author
Зелёный Андрей Сергеевич
committed
Удалил ненужное свойство IsGoal из класса Vertex
1 parent adcd7c5 commit 34fa256

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Vertex.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@ public class Vertex
77
public Point2D CameFrom { get; set; }
88
public double Label { get; set; }
99
public bool IsVisited { get; set; }
10-
public bool IsGoal { get; set; }
1110
public bool IsObstacle { get; set; }
1211

13-
public Vertex(int i, int j, Point2D CameFrom = null, double Height = 0.0, double Label = double.MaxValue, bool IsVisited = false, bool IsGoal = false, bool IsObstacle = false)
12+
public Vertex(int i, int j, Point2D CameFrom = null, double Height = 0.0, double Label = double.MaxValue, bool IsVisited = false, bool IsObstacle = false)
1413
{
1514
Coordinate = new Point2D(i, j);
1615
this.CameFrom = CameFrom;
1716
this.Height = Height;
1817
this.Label = Label;
1918
this.IsVisited = IsVisited;
20-
this.IsGoal = IsGoal;
2119
this.IsObstacle = IsObstacle;
2220
}
2321
}

0 commit comments

Comments
 (0)