2022-01-10 21:16:05 +01:00
|
|
|
//
|
|
|
|
// Created by postaron on 10/01/2022.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef BILLYSHEET_ENDURANCE_HPP
|
|
|
|
#define BILLYSHEET_ENDURANCE_HPP
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
namespace character::characteristic {
|
2022-01-10 21:28:29 +01:00
|
|
|
class Endurance final {
|
2022-01-10 21:16:05 +01:00
|
|
|
private:
|
|
|
|
const std::uint32_t base{ 2 };
|
|
|
|
std::uint32_t carac{ 0 };
|
|
|
|
std::uint32_t materiel{ 0 };
|
|
|
|
std::uint32_t additional{ 0 };
|
2022-01-10 21:28:29 +01:00
|
|
|
|
|
|
|
public:
|
|
|
|
Endurance() noexcept = default;
|
|
|
|
|
|
|
|
~Endurance() noexcept = default;
|
|
|
|
|
|
|
|
[[nodiscard]] std::uint32_t get_max_lp() const noexcept;
|
2022-01-10 21:16:05 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //BILLYSHEET_ENDURANCE_HPP
|