public static void Render(this IConsole console, ScenarioAppearPokemon model, ScenarioId id) { console.WriteTitle($"{id}"); foreach (var pid in EnumUtil.GetValuesExceptDefaults <PokemonId>()) { if (model.GetCanAppear(pid)) { console.Output.WriteLine($" {pid}"); } } }
public AppearItem(ScenarioAppearPokemon model, PokemonId id, string pokemonName) { _model = model; _id = id; Pokemon = pokemonName; }