diff options
author | zaaarf <zaaarf@proton.me> | 2023-12-01 20:03:03 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-12-01 20:03:03 +0100 |
commit | 2d76e0766f0d65ffd8c9eb19eaec705445f91af0 (patch) | |
tree | a3ba37c2d652b95085ac8cf72a25941da26498ad /src/openvic-simulation/military/MilitaryManager.hpp | |
parent | a54898b7770e0d66b729216173960686c67e58bb (diff) |
feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX
Diffstat (limited to 'src/openvic-simulation/military/MilitaryManager.hpp')
-rw-r--r-- | src/openvic-simulation/military/MilitaryManager.hpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/openvic-simulation/military/MilitaryManager.hpp b/src/openvic-simulation/military/MilitaryManager.hpp index ba13b70..aeb5a7b 100644 --- a/src/openvic-simulation/military/MilitaryManager.hpp +++ b/src/openvic-simulation/military/MilitaryManager.hpp @@ -8,15 +8,9 @@ namespace OpenVic { struct MilitaryManager { private: - UnitManager unit_manager; - LeaderTraitManager leader_trait_manager; - DeploymentManager deployment_manager; - WargoalTypeManager wargoal_manager; - - public: - REF_GETTERS(unit_manager) - REF_GETTERS(leader_trait_manager) - REF_GETTERS(deployment_manager) - REF_GETTERS(wargoal_manager) + UnitManager PROPERTY_REF(unit_manager); + LeaderTraitManager PROPERTY_REF(leader_trait_manager); + DeploymentManager PROPERTY_REF(deployment_manager); + WargoalTypeManager PROPERTY_REF(wargoal_manager); }; } |