5 #include <unordered_map>
8 #include "utils/pairhash.h"
24 Faction& getFaction(
const std::string& factionName);
25 void addFaction(std::shared_ptr<Faction> faction);
31 std::unordered_map<std::string, std::shared_ptr<Faction>> m_factions;
32 std::unordered_map<std::pair<Faction*, Faction*>, std::shared_ptr<FactionRelation>> m_relations;
34 void setupRelations();
35 std::pair<Faction*, Faction*> uniquePair(
Faction& factionA,
Faction& factionB);
Definition: factionrelation.h:16
Definition: factionmatrix.h:14