void Player::move() {
cout <<Ive
moved to a new position. << endl;
}
void Player::getTreasure() {
health++;
// increments health by one
}
int main() {
Player Jane, John(5, 5);
cout <<Janes
health:. << Jane.health << endl;
Jane.getTreasure();
cout <<Janes
health:. << Jane.health << endl;
};