Beispiel #1
0
 public static Tile[] GetSecondaries()
 {
     string[] allSecondaryTiles = Tile.GetAllSecondaryTiles();
     Tile[]   array             = new Tile[allSecondaryTiles.Length];
     for (int i = 0; i < allSecondaryTiles.Length; i++)
     {
         array[i] = new Tile(allSecondaryTiles[i]);
     }
     return(array);
 }
Beispiel #2
0
 /// <summary>
 ///   <para>Gets all secondary tiles.</para>
 /// </summary>
 /// <returns>
 ///   <para>An array of Tile objects.</para>
 /// </returns>
 public static Tile[] GetSecondaries()
 {
     string[] allSecondaryTiles = Tile.GetAllSecondaryTiles();
     Tile[]   tileArray         = new Tile[allSecondaryTiles.Length];
     for (int index = 0; index < allSecondaryTiles.Length; ++index)
     {
         tileArray[index] = new Tile(allSecondaryTiles[index]);
     }
     return(tileArray);
 }