Create a single Base (super class) named Characters.
Create 4 subclasses Named:
Fighter.
Wizard.
Rogue.
Ranger.
Create the common member variable and methodss:
Level.
TotalHitPoints.
BaseAttack.
ExtraAttack.
TotalAttack.
BaseDamage.
BaseDefense.
BaseDefense(BaseDefense).
Attack(BaseAttack+ExtraAttack).
Damage(BaseDamage).
Specify values for each character class using there Character Specific Methods.
Fighter(Power Attack( BaseAttack+ExtraAttack*2), and store at the TotalAttack)
Wizard( Magic Attack(BaseAttack * 3) , and store at the TotalAttack ).
Rogue(Sneak Attack(BaseAttack / 2 + ExtraAttack * 3), and store at the TotalAttack).
Ranger(Evasion(BaseDefense * 2 + BaseAttack / 3) , and store at the BaseDefence).
Create one character for each derived class and:
Set their Attack (or Defence for the Ranger) Values using the character specific methods.
Display the TotalAttack and BaseDefense values.
hi sir, i will create the base class and derived classes as specfied and create attack function to assign total attack etc, ready to do right now, thanks
$30 CAD în 1 zi
5,0 (189 recenzii)
6,1
6,1
12 freelanceri plasează o ofertă medie de $84 CAD pentru proiect
Hello Sir/ Ma’am
We are a group of Software Engineers having 10+ years of experience. Expert in JAVA, C, C++ , C# , ANDROID, MATLAB. Please check our profile for reference.
Thank you
Dear Sir/Madam
I've excellent Java programming skills and knowledge. I can provide an
efficient, perfect, well documented development of your Java project
according to 100% accuracy and requirements, with dedicated support.
Thanks
Farah Saif
Hi
I have great experience in java development and I can your project according to your given requirements.
If you have any query please inbox me.
Thanks
Hey! I hope you are fine, I can do this work with great efficiency as I've a lot of experience in this field. I would like you to give this opportunity to me I assure you I'll not disappoint you. Thanks in advance dear customer.
Yet, I'm a beginner at this freelancing site but not in this field chain :). You support will matters a lot.
Hello, I'm David
I can provide you perfect work as you looking for .
we can discuss more in chat .
I will be waiting for your response .
I have very great experience about your project , if you want discuss more please send me a text
Thank you
I am computer engineering student(1st grade) but I have more than 5 years of experience in C and C++.I can do your simple or intermediate level projects in a few days.I also have knowledge and experience in Java and some game engines so I am open to projects releated to these subjets.I am looking forward to work with you.
I have been working as a Software developer for 2 years now. As a part of application development I have immense knowledge in Java and would complete the aforesaid task within a reasonable time.