PathfindingTest.Pathfinding.Node.Node C# (CSharp) Method

Node() public method

Creates a node that doesn't make it's connections in the constructor.
public Node ( RTSCollisionMap map, int x, int y, System.Boolean forceNodeCreation ) : System
map PathfindingTest.Collision.RTSCollisionMap
x int The X
y int The Y
forceNodeCreation System.Boolean Instantly creates connections.
return System
        public Node(RTSCollisionMap map, int x, int y, Boolean forceNodeCreation)
            : base(map)
        {
            Init(x, y);
            if (forceNodeCreation) this.CreateConnections(PathfindingNode.MAX_CONNECT_RANGE);
            else SmartPathfindingNodeProcessor.GetInstance().Push(this);
        }

Same methods

Node::Node ( RTSCollisionMap map, int x, int y ) : System