summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-08-17 22:17:32 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-08-17 22:17:32 +0200
commita4e62c525fdc6b9662cdd48aaef2de7e9376f062 (patch)
treeb7a872b84ef912af3e7c1e451868144ca8c051a6 /core/src
parent695d9938d9cf4c38bcc408e22f5f72ea1896c42f (diff)
downloadturns-a4e62c525fdc6b9662cdd48aaef2de7e9376f062.tar.xz
turns-a4e62c525fdc6b9662cdd48aaef2de7e9376f062.zip
core: add ::skip-defeated property
Diffstat (limited to 'core/src')
-rw-r--r--core/src/turn_order.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/turn_order.cpp b/core/src/turn_order.cpp
index 31b6830..a2c4ce5 100644
--- a/core/src/turn_order.cpp
+++ b/core/src/turn_order.cpp
@@ -93,6 +93,11 @@ namespace turns::core
return m_round_number.get_proxy();
}
+ auto turn_order::skip_defeated() -> Glib::PropertyProxy<skip_defeated_type>
+ {
+ return m_skip_defeated.get_proxy();
+ }
+
/** Modifiers */
auto turn_order::add(Glib::ustring const & name, float priority, disposition disposition) -> void