removed layer and objects design
fixed bug in restore_health
This commit is contained in:
@ -6,12 +6,11 @@
|
||||
#include <memory>
|
||||
#include "constants.h"
|
||||
#include "characters.h"
|
||||
#include "objects.h"
|
||||
|
||||
class logger final {
|
||||
private:
|
||||
std::ofstream out;
|
||||
std::vector<char> display;
|
||||
std::vector<char> contents;
|
||||
public:
|
||||
logger(std::ofstream &&new_out);
|
||||
|
||||
@ -22,6 +21,7 @@ public:
|
||||
void print_turn(const unsigned turn);
|
||||
void print_player(std::unique_ptr<character> &player);
|
||||
void print_chlist(const character_list &chlist);
|
||||
void print_gold(const gold_list &gold_piles);
|
||||
void print_potions(const potion_list &potions);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user