GameEngine.Pathfinding.ANode.ANode C# (CSharp) Method

ANode() public method

public ANode ( Vector2 txPos, ANode parent = null ) : System
txPos Vector2
parent ANode
return System
        public ANode(Vector2 txPos, ANode parent=null)
        {
            this.TxPos = txPos;
            this.Parent = parent;
            this.Child = null;

            SetParent(parent);
        }