First kind of working FTXUI for the game.

This commit is contained in:
Zed A. Shaw 2024-08-20 17:29:58 -04:00
parent 6fc74ca199
commit 6d4aa9390a
3 changed files with 127 additions and 58 deletions

View file

@ -26,7 +26,6 @@ class Brainfucker {
};
class GameEngine {
int hit_points = 0;
map<string, int> damage_types{
{"error", 4},
{"warning", 1},
@ -34,6 +33,8 @@ class GameEngine {
};
public:
int hit_points = 0;
GameEngine(int hp);
int determine_damage(string &type);