Question: Write a client class (one with a main method) that creates a new Battle Arena BattleArena arena = new BattleArena(); and play the game! You

 Write a client class (one with a main method) that creates

Write a client class (one with a main method) that creates a new Battle Arena BattleArena arena = new BattleArena(); and play the game! You will need to have this running with your Pokemon and Pokedex, along with: System.out.println(p); Where p is an instance of one of your pokemon. Instructions for Battle Arena: This implementation of Battle arena will get 5 random pokemon from your pokedex. The program then creates an instance of DrawingPanel to display the pokemon and their stats. Team one is on top, and team 2 is on bottom. On a pokemon's turn, they may click one of the opposing team or one of their own team. If the apposing team is clicked, Battle Arena will use your getAtk and getDef methods. If getAtk>getDef, damage will be done to the attacked pokemon with the formula getAtk - getDef. If a member of the team whose turn it is is clicked, the program uses the getAtk method to decide how much to heal the pokemon who may or may not be injured. There is a red underline highlighting the current pokemon. If you have implemented the interfaces properly, the program will work. Your implementation of getAtk and getDef will dictate how the game is played. You must ensure that pokemon do not go over their max HP. Write a client class (one with a main method) that creates a new Battle Arena BattleArena arena = new BattleArena(); and play the game! You will need to have this running with your Pokemon and Pokedex, along with: System.out.println(p); Where p is an instance of one of your pokemon. Instructions for Battle Arena: This implementation of Battle arena will get 5 random pokemon from your pokedex. The program then creates an instance of DrawingPanel to display the pokemon and their stats. Team one is on top, and team 2 is on bottom. On a pokemon's turn, they may click one of the opposing team or one of their own team. If the apposing team is clicked, Battle Arena will use your getAtk and getDef methods. If getAtk>getDef, damage will be done to the attacked pokemon with the formula getAtk - getDef. If a member of the team whose turn it is is clicked, the program uses the getAtk method to decide how much to heal the pokemon who may or may not be injured. There is a red underline highlighting the current pokemon. If you have implemented the interfaces properly, the program will work. Your implementation of getAtk and getDef will dictate how the game is played. You must ensure that pokemon do not go over their max HP

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!