public static void Main() { bool stop = false; MasterDex.InitializePokedex(); Pokedex dex = new Pokedex(); Pokemon mon = new Pokemon(); while (!stop) { string command = Console.ReadLine(); switch (command) { case ("get pokemon"): break; default: Console.WriteLine("Invalid Command"); break; } } }
public Pokedex() { MasterDex.InitializePokedex(); dex = new Dictionary<string, Pokemon>(); foreach (Pokemon mon in MasterDex.Pokedex) { dex.Add(mon.Name, mon); } }