Example #1
0
        static void Main(string[] args)
        {
            IPokemon    myPokemon = ChoicePokemon();
            IPokemonFoe foe       = ChoiceFoe.ChoicePokemonFoe(myPokemon);

            myPokemon.SetFoe(foe);

            myPokemon.Go();
            myPokemon.ChoiceAttack();


            Console.ReadLine();
        }
 public void SetFoe(IPokemonFoe foe)
 {
     _foe = foe;
 }