First kind of working FTXUI for the game.
This commit is contained in:
parent
6fc74ca199
commit
6d4aa9390a
3 changed files with 127 additions and 58 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue