Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
Faction & | pirateFaction () |
Faction & | policeFaction () |
Faction & | playerFaction () |
Faction & | unknownFaction () |
Faction & | getFaction (const std::string &factionName) |
void | addFaction (std::shared_ptr< Faction > faction) |
FactionRelation & | getRelation (Faction &factionA, Faction &factionB) |
FactionRelation & | getRelationToPlayer (Faction &faction) |
Protected Member Functions | |
void | setupRelations () |
std::pair< Faction *, Faction * > | uniquePair (Faction &factionA, Faction &factionB) |
Protected Attributes | |
std::unordered_map < std::string, std::shared_ptr < Faction > > | m_factions |
std::unordered_map< std::pair < Faction *, Faction * > , std::shared_ptr < FactionRelation > > | m_relations |