Beispiel #1
0
        public void ChooseAttack(string attackType, PokeBase victim)
        {
            //hard coded, but need to change to ask user
            string  attackName = BattlePoke.AvailableAttacks[0];
            IAttack attack     = BattlePoke.Attacks[attackName];

            BattlePoke.PerformAttack(attack, victim);
        }
Beispiel #2
0
 private PokeCell(PokeBase poke, string id, string name)
 {
     Pokemon = poke;
     ID      = id;
     Name    = name;
 }
Beispiel #3
0
 public void ChoosePokeForBattle(PokeBase pokemon)
 {
     BattlePoke = pokemon;
 }
Beispiel #4
0
 //adds single card to trainers deck
 public void SelectCard(PokeBase pokemon)
 {
     Pokemon.Add(pokemon);
 }