help for my code1

Hi, I've been suffering with my magic the gathering c++ code. Here's the problem;
I make combat between two cards and after the fight, opponent's HP will be reduce. So far, the HP reduces in side the classes but when we call the player's HP, it doesn't change as in the classes.
What I can add to change the value throughout the program?