WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Government.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef WORLDSIM_GOVERNMENT_HPP
3 #define WORLDSIM_GOVERNMENT_HPP
4 
5 /* WorldSim: Government.hpp
6  #include "Government.hpp"
7 */
8 
9 #include "Character.hpp"
10 #include <iostream>
11 
12 #include "Government_Position.hpp"
13 
15 {
16  public:
21 
22  Vector<Government_Position> vWorkers;
23 
24  Government();
25  Government(const Government& other);
26  Government& operator=(const Government& other);
27 
28  void governDaily();
29  bool needsLeader();
30  void setLeader(Character* character);
31  void setScribe(Character* character);
32  void setCaptain(Character* character);
33 };
34 
35 #endif // WORLDSIM_GOVERNMENT_HPP
Definition: Government_Position.hpp:36
Definition: Government_Position.hpp:43
Vector< Government_Position > vWorkers
Definition: Government.hpp:22
Definition: Government_Position.hpp:28
Government()
Definition: Government.cpp:268
bool needsLeader()
Definition: Government.cpp:302
void setCaptain(Character *character)
Definition: Government.cpp:317
void setLeader(Character *character)
Definition: Government.cpp:307
Government_Leader leader
Definition: Government.hpp:18
Government & operator=(const Government &other)
Definition: Government.cpp:278
Definition: Settlement.hpp:15
Settlement * governedSettlement
Definition: Government.hpp:17
Government_Captain captain
Definition: Government.hpp:20
Definition: Character.hpp:38
void governDaily()
Definition: Government.cpp:290
void setScribe(Character *character)
Definition: Government.cpp:312
Government_Scribe scribe
Definition: Government.hpp:19
Definition: Government.hpp:14