Example #1
0
 /// <summary>All <i>OnBoard</i> neighbours of this hex, as an <c>IEnumerable&lt;NeighbourHex></c></summary>
 public static IEnumerable <NeighbourHex> GetNeighbourHexes(this IHex @this)
 {
     return(@this.GetAllNeighbours().Where(n => n.Hex != null));
 }