Adding the future class which changes characteristics based on objects.

This commit is contained in:
Pcornat 2024-02-26 12:17:19 +01:00
parent cfd22179e9
commit 88025baeff
Signed by: Pcornat
GPG Key ID: E0326CC678A00BDD

View File

@ -6,9 +6,14 @@
using json = nlohmann::json; using json = nlohmann::json;
namespace character {
class BillyObjects;
}
namespace character::characteristic { namespace character::characteristic {
class Characteristic { class Characteristic {
protected: protected:
friend character::BillyObjects;
using defaultValue = std::numeric_limits<std::int32_t>; using defaultValue = std::numeric_limits<std::int32_t>;
mutable std::int32_t total{ defaultValue::max() }; mutable std::int32_t total{ defaultValue::max() };
const std::uint32_t base{ 0 }; const std::uint32_t base{ 0 };