Ejemplo n.º 1
0
 public void SetNeighbour(NeighbourDirection direction, TerrainTile tile)
 {
     Neighbours[(int)direction] = tile;
     tile.Neighbours[(int)direction.Opposite()] = this;
 }
Ejemplo n.º 2
0
 public void SetNeighbour(NeighbourDirection direction, Node node)
 {
     Neighbours[(int)direction] = node;
     node.Neighbours[(int)direction.Opposite()] = this;
 }