8#include <nlohmann/json.hpp>
9#include <unordered_map>
19 std::vector<std::unique_ptr<Effect>>
makeEffectList(
const nlohmann::json& effectList);
22 std::unordered_map<std::string, std::unique_ptr<Effect> (*)(
const nlohmann::json& effect)>
25 static Target identifyTarget(
const std::string& targetSpecifier);
27 static std::unique_ptr<Effect> makeGainArmorEffect(
const nlohmann::json& effect);
28 static std::unique_ptr<Effect> makeGainAttackEffect(
const nlohmann::json& effect);
29 static std::unique_ptr<Effect> makeGainActionsEffect(
const nlohmann::json& effect);
30 static std::unique_ptr<Effect> makeDrawCardsEffect(
const nlohmann::json& effect);
Definition: effectFactory.h:15
EffectFactory()
Definition: effectFactory.cpp:10
std::vector< std::unique_ptr< Effect > > makeEffectList(const nlohmann::json &effectList)
Definition: effectFactory.cpp:19
Target
Logical target selector used during effect resolution.
Definition: combatTarget.h:14