This commit is contained in:
Pcornat 2026-01-22 20:20:21 +01:00
commit b050a7634d
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
8 changed files with 113 additions and 104 deletions

View file

@ -7,15 +7,14 @@
namespace character {
enum class classe : std::uint8_t {
Guerrier = 0,
Prudent = 1,
Paysan = 2,
Guerrier = 0,
Prudent = 1,
Paysan = 2,
Debrouillard = 3,
};
class CharacterSheet final {
private:
friend BillyObjects;
std::string caractere{};
@ -33,8 +32,8 @@ namespace character {
BillyObjects::container objects;
std::unordered_set<billyEnums> available_objects{
BillyObjects::all_objects.cbegin(),
BillyObjects::all_objects.cend()
BillyObjects::all_objects.cbegin(),
BillyObjects::all_objects.cend()
};
std::uint32_t health_point{ 0 };
@ -54,6 +53,7 @@ namespace character {
std::uint32_t nb_equipments{ 0 };
std::uint32_t nb_tools{ 0 };
public:
CharacterSheet() = default;
@ -146,4 +146,4 @@ namespace character {
}
#endif //BILLYSHEET_CHARACTER_SHEET_HPP
#endif //BILLYSHEET_CHARACTER_SHEET_HPP