Beispiel #1
0
 static public Hex DiagonalNeighbor(Hex hex, int direction)
 {
     return(Hex.Add(hex, Hex.diagonals[direction]));
 }
Beispiel #2
0
 static public Hex Neighbor(Hex hex, int direction)
 {
     return(Hex.Add(hex, Hex.Direction(direction)));
 }