How exactly can I modify the healthpoints of my two characters (mHealthPoints and mHealthPoints1)? I get syntax error for putting mHealhPoints under the Goblin attack moves since mHealthPoints is not under the Goblin class.
your character class (the base class?) should have a value for current health, and you need a method to set this. it should probably set it to the max of maxhealth/inputvalue or the min of input and 0 or something to be safe (?). you probably also need a get for the value.