Question: create a java program Trainer Class: Implement a Trainer class that uses an array of objects. Adapt battle logic to have two teams fight against
create a java program
Trainer Class:
Implement a Trainer class that uses an array of objects.
Adapt battle logic to have two teams fight against each other until one is totally defeated.
User should be able to switch pokemon during the battle.
TypeEffectiveness:
At minimum cover the Fire Grass Water Fire cycle.
Supereffective attacks should do double damage, resisted attacks should do half.
If a pokemon is the same type as the attack it uses, the attack gains a x bonus to damage.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
