Пример #1
0
        public static void Battle(Pokemon wildPokemon, Trainer trainer)
        {
            Console.WriteLine("1. Fight\n2. Go to Bag");
            Console.WriteLine("->");
            choice = Convert.ToInt32(Console.ReadLine());

            switch (choice)
            {
            case 1:
                Fight.Battle(wildPokemon, trainer);
                break;

            case 2:
                UseItem.GoToBag(wildPokemon, trainer);
                break;

            default:
                Battle(wildPokemon, trainer);
                break;
            }
        }