diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-09-25 18:22:37 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-09-25 18:22:37 +0200 |
| commit | ca3326e09a30181127a3e49985538ef424b5e612 (patch) | |
| tree | 345eba9cb6ad06fbe969f6852907cfc11b86cd39 /core/include | |
| parent | 4c5d17bc8e6fceeb6fd9cc45c10f07b7bc639f49 (diff) | |
| download | turns-ca3326e09a30181127a3e49985538ef424b5e612.tar.xz turns-ca3326e09a30181127a3e49985538ef424b5e612.zip | |
core: rename property accessors of participant
Diffstat (limited to 'core/include')
| -rw-r--r-- | core/include/turns/core/participant.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/include/turns/core/participant.hpp b/core/include/turns/core/participant.hpp index c21aa8b..a7eb98d 100644 --- a/core/include/turns/core/participant.hpp +++ b/core/include/turns/core/participant.hpp @@ -24,11 +24,11 @@ namespace turns::core auto operator<=>(participant const & other) const noexcept -> std::partial_ordering; - auto disposition(this auto && self); - auto is_active(this auto && self); - auto is_defeated(this auto && self); - auto name(this auto && self); - auto priority(this auto && self); + auto property_disposition(this auto && self); + auto property_is_active(this auto && self); + auto property_is_defeated(this auto && self); + auto property_name(this auto && self); + auto property_priority(this auto && self); auto serialize() -> nlohmann::json; @@ -40,27 +40,27 @@ namespace turns::core Glib::Property<float> m_priority{*this, "priority", 0.0f}; }; - auto participant::disposition(this auto && self) + auto participant::property_disposition(this auto && self) { return self.m_disposition.get_proxy(); } - auto participant::is_active(this auto && self) + auto participant::property_is_active(this auto && self) { return self.m_is_active.get_proxy(); } - auto participant::is_defeated(this auto && self) + auto participant::property_is_defeated(this auto && self) { return self.m_is_defeated.get_proxy(); } - auto participant::name(this auto && self) + auto participant::property_name(this auto && self) { return self.m_name.get_proxy(); } - auto participant::priority(this auto && self) + auto participant::property_priority(this auto && self) { return self.m_priority.get_proxy(); } |
