public Edge[] GetAdjacentEdges(int tileIndex) { return GetAllEdges().Where(e => e.FirstTile == tileIndex || e.SecondTile == tileIndex).ToArray(); }