Esempio n. 1
0
        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;
                }
            }
        }
Esempio n. 2
0
 public Pokedex()
 {
     MasterDex.InitializePokedex();
     dex = new Dictionary<string, Pokemon>();
     foreach (Pokemon mon in MasterDex.Pokedex)
     {
         dex.Add(mon.Name, mon);
     }
 }