Constructors & Destructors
•
Player:: Player () {
–
strength = 10;
–
agility = 10;
–
health = 10;
–
}
•
Player::~Player() {
•
strength = 0;
•
agility = 0;
•
health = 0;
•
} //automatically called
•