public level.Tile GenerateTile(Random rnd) { level.Tile tile = new level.Tile(); int picked = rnd.Next(Foregrounds.Length); tile.Foreground = Foregrounds[picked]; tile.Background = Backgrounds[picked]; tile.AssetName = this.AssetName; tile.Char = Chars[picked][rnd.Next(Chars[picked].Length)]; return(tile); }
public level.Tile GenerateTile(Random rnd) { level.Tile result = localBiome.GenerateTile(rnd); return(result); }