aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Pop.hpp
diff options
context:
space:
mode:
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
commit0de3d5849cfb9faad0e3c8ce10a8152a916bba21 (patch)
tree7138640edd95f468115f2732e45c86ae5181d7f7 /src/openvic-simulation/pop/Pop.hpp
parenta54898b7770e0d66b729216173960686c67e58bb (diff)
parent76ddf81044f9ff63e82fc188c0d6aac9616228ce (diff)
Merge pull request #81 from OpenVicProject/dataloading-rebels
Dataloading rebels
Diffstat (limited to 'src/openvic-simulation/pop/Pop.hpp')
-rw-r--r--src/openvic-simulation/pop/Pop.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/openvic-simulation/pop/Pop.hpp b/src/openvic-simulation/pop/Pop.hpp
index ff4ff5f..798e78e 100644
--- a/src/openvic-simulation/pop/Pop.hpp
+++ b/src/openvic-simulation/pop/Pop.hpp
@@ -80,15 +80,12 @@ namespace OpenVic {
private:
IdentifierRegistry<PopType> pop_types;
- CultureManager culture_manager;
- ReligionManager religion_manager;
+ CultureManager PROPERTY_REF(culture_manager);
+ ReligionManager PROPERTY_REF(religion_manager);
public:
PopManager();
- REF_GETTERS(culture_manager)
- REF_GETTERS(religion_manager)
-
bool add_pop_type(
std::string_view identifier, colour_t new_colour, PopType::strata_t strata, PopType::sprite_t sprite,
Good::good_map_t&& life_needs, Good::good_map_t&& everyday_needs, Good::good_map_t&& luxury_needs,