reate a multi-class program, where one class will actually
reference another. This one will be a simple replica of a RPG-style character. In this program, you
will be able design a class to represent your character and will also design a class to represent
items you could pick up. The class attributes are:
Player
o Name
o Type (warrior, thief, wizard, healer)
o Health
o Strength
o Dexterity
o Intelligence
Item
o Name
o Type (weapon, magical, treasure)
o Points_Modifier (how much it affects health, strength, etc.)
Create functions for the classes as appropriate. For example, the Player class will have (at a
minimum) a constructor and a displayPlayer function (that returns a formatted string with the
Player’s details).
We will continue this next week by integrating the two classes with each other and in a main game class
im having trouble understanding what to do here..