Question: UML diagram transformed into JAVA CODES! Need help with it. Only the human class and it's subclasses (player and NonPlayableCharacter - you can only code
UML diagram transformed into JAVA CODES! Need help with it. Only the human class and it's subclasses (player and NonPlayableCharacter - you can only code one of them if you want - since it will all be similar for the npc) needs to be coded. The door, room, and other classes do not, It has been already taken care off. I have attached them just so incase you needed some reference. 


Human name String maxHealth: int currentHealth: int damage: int armor: int cooldown int//speed effects : ArrayList-Effect> + attack(opponent Human) void +getName): String +getMaxHealth int +getCurrentHealth int +getDamage0: int +getArmor: int +getEffects): ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
