import java.util.*; // needed to use the Random number generator public class Fighter { // declare your instance data here for your Fighter, including a Random generator // these will include: // a name (String) // int values for numAttacks, damagePerAttack, defense, hitPoints, potions, treasure // a Random number generator // the Fighter's constructor: public Fighter(/* place your params here, the info that you will pass to a new Fighter, including a Random number generator */) { // put code here to initialize all of the instance data to the parameters such as // hitPoints = h; assuming that the parameter in the parameter list is called h } // the other methods for the Fighter class will include // accessors for getDefense, getName, getPotions, getTreasure, isAlive -- these all return ints // except getName (String) and isAlive (boolean) public void isAttacked(int amount) { // deduct amount from hitPoints } public void attack(Fighter other) { // code goes here for this Fighter to fight other } public String toString() { return // put the stuff here you want to output such as the Fighter's name and hitPoints } }