private static int F(QueueNode node) { return(node.PathCost + Math.Abs(node.Pos.X - GOAL)); }
public override bool Equals(Object obj) { QueueNode other = (QueueNode)obj; return(Pos.X == other.Pos.X && Pos.Y == other.Pos.Y && PathCost == other.PathCost); }