private static Tile[] CreateTiles(Random rng) { Tile[] tiles = new Tile[19]; TilePool tilePool = new TilePool(); TokenPool tokenPool = new TokenPool(); for (int i = 0; i < 19; ++i) { Tile tile = tilePool.GetRandomTile(rng); if (tile.terrain != TerrainType.Desert) { tile.token = tokenPool.GetRandomToken(rng); } else { tile.token = 0; } tiles[i] = tile; } return tiles; }