Reformat
This commit is contained in:
parent
b3c59ffe0d
commit
b050a7634d
8 changed files with 113 additions and 104 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue