Question: Please help me code PAssign test class and the warrior subclass using stack and ArrayList please. I would appreciate it so much. Description After applying,
Description After applying, you have landed a job as a character programmer for the company that recently released the latest MMORPG: World of Guild Warcraft Wars 17: The Path to the Exalted Kingdom of Fire, Ultra Deluxe Collector's Edition (with bonus character hats, socks, and lederhosen). The testing game engine is built in Java and the company has asked for character type mockups to begin balancing and testing with a default party with default initial values for a specific boss encounter subsystem before moving development to the production game engine. Implement the following Java classes based on the descriptions provided. CharacterType is the parent class with four child classes: Warrior, Guardian, Mage, and Necromancer. The parent class has a name, level, health pool, and a SpecialSkill which is its own class with a name and cooldown property) that grants certain abilities. Each child class has a unique property with an associated numeric value. Note that SpecialSkills are not unique to any character type. The CharacterType class should contain: . A String data member named name that contains the name of the character. A String data member named characterType that contains the type of class(Warrior, Mage, etc.). An int data member named level for the character's level. . An int data member named healthPool for the character's health pool. A SpecialSkill member named specialSkill that is an instance of the Specialskill class. . A default no-arg constructor that creates a default CharacterType. Default for name is "Frodo Jones". level and healthPool is 0. specialSkillis a defaut instance created using SpecialSkil'sdefault constructor. o 2 o Accessor and mutator methods for all data members. A toString) method that returns a String indicating the character name, character type, level, base health pool as well as the result of calling specialSkill's toString() method. See sample output for the needed format. 1Only available with preorder through Kwality-mart, socks only with purchase of Super Ultra Deluxe Collector's Edition, lederhosen only with purchase of Mega Super Ultra Deluxe Collector's Edition
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
