Constructors and destructors.
This commit is contained in:
parent
67967051f2
commit
cc77744827
@ -4,11 +4,16 @@
|
||||
#include <random>
|
||||
|
||||
namespace character {
|
||||
class BillySheet {
|
||||
class BillySheet final {
|
||||
private:
|
||||
std::mt19937_64 engine{ std::random_device{ "rdseed" }() };
|
||||
|
||||
std::string caractere{};
|
||||
|
||||
public:
|
||||
BillySheet() = default;
|
||||
|
||||
~BillySheet() noexcept = default;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -4,12 +4,17 @@
|
||||
#include <cstdint>
|
||||
|
||||
namespace character::characteristic {
|
||||
class Adresse {
|
||||
class Adresse final {
|
||||
private:
|
||||
const std::uint32_t base{ 1 };
|
||||
std::uint32_t carac{ 0 };
|
||||
std::uint32_t materiel{ 0 };
|
||||
std::uint32_t additional{ 0 };
|
||||
|
||||
public:
|
||||
Adresse() noexcept = default;
|
||||
|
||||
~Adresse() noexcept = default;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -4,12 +4,17 @@
|
||||
#include <cstdint>
|
||||
|
||||
namespace character::characteristic {
|
||||
class Chance {
|
||||
class Chance final {
|
||||
private:
|
||||
const std::uint32_t base{ 3 };
|
||||
std::uint32_t carac{ 0 };
|
||||
std::uint32_t materiel{ 0 };
|
||||
std::uint32_t additional{ 0 };
|
||||
|
||||
public:
|
||||
Chance() noexcept = default;
|
||||
|
||||
~Chance() noexcept = default;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,11 @@ namespace character::characteristic {
|
||||
std::uint32_t carac{ 0 };
|
||||
std::uint32_t materiel{ 0 };
|
||||
std::uint32_t additional{ 0 };
|
||||
|
||||
public:
|
||||
Habilete() noexcept = default;
|
||||
|
||||
~Habilete() noexcept = default;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user