Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Very urgently.Generate codes for uml main method create 2objects one from hybridfighter and kibishifighter and create variable called isDead(boolean While any fighter is alive(isdead false)
Very urgently.Generate codes for uml
main method create 2objects one from hybridfighter and kibishifighter and create variable called isDead(boolean
While any fighter is alive(isdead false) one should attack another and its opponent should defense
Each attack method (attackTo,judoAttackTo etc) should decrease (you decide amount) the healt of opponent fighters.DEfense methods increase belonging fighter's healt.Print out their health when one is dead
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started