1 #pragma once 2 3 #include "Campaign_Types.h" 4 #include "JsonObject.h" 5 6 /** 7 * Numbers of bloodcats spawning at designated sectors, by game difficulty 8 */ 9 class BloodCatSpawnsModel 10 { 11 public: 12 BloodCatSpawnsModel(uint8_t sectorId_, 13 bool isLair_, bool isArena_, 14 int8_t bloodCatsEasy_, int8_t bloodCatsMedium_, int8_t bloodCatsHard_); 15 16 const int8_t getSpawnsByDifficulty(uint8_t difficultyLevel) const; 17 static BloodCatSpawnsModel* deserialize(JsonObjectReader& obj); 18 19 const uint8_t sectorId; 20 const bool isLair; 21 const bool isArena; 22 const int8_t bloodCatsSpawnsEasy; 23 const int8_t bloodCatsSpawnsMedium; 24 const int8_t bloodCatsSpawnsHard; 25 };