aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Religion.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-11-22 23:11:42 +0100
committer GitHub <noreply@github.com>2023-11-22 23:11:42 +0100
commita54898b7770e0d66b729216173960686c67e58bb (patch)
treeaf8ed836a4789ef94c5bfed27abb713922f45af3 /src/openvic-simulation/pop/Religion.hpp
parente76336cd92639f4ec71088fc4c80aea4c25528cd (diff)
parent738a203e0d8b4df87c42888043b99c13d5d97511 (diff)
Merge pull request #78 from OpenVicProject/property-macro
Refactoring (*mostly* related to the property macro)
Diffstat (limited to 'src/openvic-simulation/pop/Religion.hpp')
-rw-r--r--src/openvic-simulation/pop/Religion.hpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/openvic-simulation/pop/Religion.hpp b/src/openvic-simulation/pop/Religion.hpp
index 4cc8403..6f34eee 100644
--- a/src/openvic-simulation/pop/Religion.hpp
+++ b/src/openvic-simulation/pop/Religion.hpp
@@ -23,9 +23,9 @@ namespace OpenVic {
using icon_t = uint8_t;
private:
- ReligionGroup const& group;
- const icon_t icon;
- const bool pagan;
+ ReligionGroup const& PROPERTY(group);
+ const icon_t PROPERTY(icon);
+ const bool PROPERTY(pagan);
Religion(
std::string_view new_identifier, colour_t new_colour, ReligionGroup const& new_group, icon_t new_icon,
@@ -34,10 +34,6 @@ namespace OpenVic {
public:
Religion(Religion&&) = default;
-
- ReligionGroup const& get_group() const;
- icon_t get_icon() const;
- bool get_pagan() const;
};
struct ReligionManager {