add set and get hp to goblin class