Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
faction.h
1 #pragma once
2 
3 #include <map>
4 #include <memory>
5 #include <string>
6 
7 
8 class FactionRelation;
9 
10 class Faction {
11 public:
12  Faction(const std::string& key, const std::string& printName);
13 
14  const std::string& key() const;
15  void setPrintName(const std::string& printName);
16  const std::string& printName() const;
17 
18  FactionRelation& relationTo(Faction& other);
19 
20 protected:
21  std::string m_key;
22  std::string m_printName;
23 };
24 
Definition: faction.h:10
Definition: factionrelation.h:16