Make the game engine use a start/end round and do healing if you don't make any mistakes.

This commit is contained in:
Zed A. Shaw 2024-08-21 18:44:32 -04:00
parent e35536c7e3
commit c52bc8fafd
4 changed files with 25 additions and 8 deletions

View file

@ -36,14 +36,19 @@ class GameEngine {
public:
int hit_points = 0;
int hits_taken = 0;
GameEngine(int hp);
int determine_damage(string &type);
void start_round();
void end_round();
bool hit(string &type);
bool is_dead();
void heal(int amount);
void heal();
};