diff options
author | zaaarf <80046572+zaaarf@users.noreply.github.com> | 2023-12-01 23:31:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 23:31:41 +0100 |
commit | 0de3d5849cfb9faad0e3c8ce10a8152a916bba21 (patch) | |
tree | 7138640edd95f468115f2732e45c86ae5181d7f7 /src/openvic-simulation/economy/EconomyManager.hpp | |
parent | a54898b7770e0d66b729216173960686c67e58bb (diff) | |
parent | 76ddf81044f9ff63e82fc188c0d6aac9616228ce (diff) |
Merge pull request #81 from OpenVicProject/dataloading-rebels
Dataloading rebels
Diffstat (limited to 'src/openvic-simulation/economy/EconomyManager.hpp')
-rw-r--r-- | src/openvic-simulation/economy/EconomyManager.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/openvic-simulation/economy/EconomyManager.hpp b/src/openvic-simulation/economy/EconomyManager.hpp index d53aa7e..fcde094 100644 --- a/src/openvic-simulation/economy/EconomyManager.hpp +++ b/src/openvic-simulation/economy/EconomyManager.hpp @@ -7,15 +7,11 @@ namespace OpenVic { struct EconomyManager { private: - BuildingManager building_manager; - GoodManager good_manager; - ProductionTypeManager production_type_manager; + BuildingManager PROPERTY_REF(building_manager); + GoodManager PROPERTY_REF(good_manager); + ProductionTypeManager PROPERTY_REF(production_type_manager); public: - REF_GETTERS(building_manager) - REF_GETTERS(good_manager) - REF_GETTERS(production_type_manager) - inline bool load_production_types_file(PopManager const& pop_manager, ast::NodeCPtr root) { return production_type_manager.load_production_types_file(good_manager, pop_manager, root); } |