ensure that it has the following: a. Variables Name -String ii. iii. iv. v. i. Level - int Health - int Attack - int Туре - String Attacks vi. 1. Hashmap that maps a String attack name to an Integer Damage Modifier b. Methods i. Setters and Getters for All variables 1. Ensure that there are checks on all setters to only set reasonable values ii. 2 Constructors 1. 1 Default, 1 that sets all variables iii. setPokemon 1. Setter that sets all variables for a pokemon iv. addAttack 1. Add attack to attacks array c. Additional Methods i. toString 1. Returns an appropriate string with all variables from the class equals 1. Compares this object against another object O and returns a ii. boolean showing if they are equal or not iii. readinput -> Gather details of a pokemon writeOutput ->print details of a pokemon (separate from toString) iv. d. Interfaces i. Ensure that pokemon implements the compareTo interface 1. Pokemon should be able sorted by the alphabetical order of their names fightable interface 1. Create a fightable interface and ensure that pokemon implements ii. it a. Fightable should have the following method requirements dealDamage->method that allows the fightable to attack another fightable and deal damage to its i. bealth Has damage and figthtable as parameters
ensure that it has the following: a. Variables Name -String ii. iii. iv. v. i. Level - int Health - int Attack - int Туре - String Attacks vi. 1. Hashmap that maps a String attack name to an Integer Damage Modifier b. Methods i. Setters and Getters for All variables 1. Ensure that there are checks on all setters to only set reasonable values ii. 2 Constructors 1. 1 Default, 1 that sets all variables iii. setPokemon 1. Setter that sets all variables for a pokemon iv. addAttack 1. Add attack to attacks array c. Additional Methods i. toString 1. Returns an appropriate string with all variables from the class equals 1. Compares this object against another object O and returns a ii. boolean showing if they are equal or not iii. readinput -> Gather details of a pokemon writeOutput ->print details of a pokemon (separate from toString) iv. d. Interfaces i. Ensure that pokemon implements the compareTo interface 1. Pokemon should be able sorted by the alphabetical order of their names fightable interface 1. Create a fightable interface and ensure that pokemon implements ii. it a. Fightable should have the following method requirements dealDamage->method that allows the fightable to attack another fightable and deal damage to its i. bealth Has damage and figthtable as parameters
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
FOR JAVA
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY