aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r--src/openvic-simulation/GameManager.hpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp
index fa61eaf..9d0c6cd 100644
--- a/src/openvic-simulation/GameManager.hpp
+++ b/src/openvic-simulation/GameManager.hpp
@@ -14,6 +14,7 @@ namespace OpenVic {
struct GameManager {
using state_updated_func_t = std::function<void()>;
+ private:
Map map;
BuildingManager building_manager;
GoodManager good_manager;
@@ -23,7 +24,6 @@ namespace OpenVic {
UnitManager unit_manager;
GameAdvancementHook clock;
- private:
time_t session_start; /* SS-54, as well as allowing time-tracking */
Date today;
state_updated_func_t state_updated;
@@ -36,6 +36,23 @@ namespace OpenVic {
public:
GameManager(state_updated_func_t state_updated_callback);
+ Map& get_map();
+ Map const& get_map() const;
+ BuildingManager& get_building_manager();
+ BuildingManager const& get_building_manager() const;
+ GoodManager& get_good_manager();
+ GoodManager const& get_good_manager() const;
+ PopManager& get_pop_manager();
+ PopManager const& get_pop_manager() const;
+ IdeologyManager& get_ideology_manager();
+ IdeologyManager const& get_ideology_manager() const;
+ IssueManager& get_issue_manager();
+ IssueManager const& get_issue_manager() const;
+ UnitManager& get_unit_manager();
+ UnitManager const& get_unit_manager() const;
+ GameAdvancementHook& get_clock();
+ GameAdvancementHook const& get_clock() const;
+
bool setup();
Date const& get_today() const;