Exemplo n.º 1
0
 public Tile GetNeighbour(int x, int y, HorizontalNeighbour h, VerticalNeighbour v)
 {
     return GetTileAcrossWrap(x + (int)h, y + (int)v);
 }
Exemplo n.º 2
0
 public Tile GetNeighbour(Tile t, HorizontalNeighbour h, VerticalNeighbour v)
 {
     return GetNeighbour(t.X, t.Y, h, v);
 }