public void SetPathNode(int x, int y, bool walkable) { _grid[x, y] = new WPathNode() { Walkable = walkable, X = x, Y = y, }; }
public void AddPathNode(WPathNode node) { _grid[node.X, node.Y] = node; }
public void SetPathNode(int x, int y, bool walkable) { _grid[x, y] = new WPathNode() { Walkable = walkable, X = x, Y = y, }; }
public void AddPathNode(WPathNode node) { _grid[node.X, node.Y] = node; }