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