Working correctly

This commit is contained in:
Pcornat 2024-10-30 20:04:07 +01:00
parent e2d598d5d0
commit 9d57971414
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
3 changed files with 6 additions and 4 deletions

View file

@ -11,6 +11,7 @@
#include <variant>
#include <string_view>
#include <unordered_map>
#include <nlohmann/json_fwd.hpp>
#include "generic_object.hpp"
@ -22,7 +23,7 @@ namespace character {
class BillyObjects final {
public:
static constexpr std::size_t max_num_obj{ 3 };
using json = nlohmann::json;
using container = std::unordered_map<billyEnums, billyObjects>;
static constexpr std::array<billyEnums, 12> all_objects{