///<summary>Creates a node at the input position and movement cost of 1</summary> public Node(Position position) { _postition = position; _parent = null; _movementCost = 1; _vistable = true; }
///<summary>Creates a node at the input position and the inputed movement cost</summary> public Node(Position position, double movementCost) { _postition = position; _parent = null; _movementCost = movementCost; _vistable = true; }
public bool Equals(Position position) { if ((object)position == null) { return false; } return this == position; }