aboutsummaryrefslogtreecommitdiff
path: root/backend/ArmorObject.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 16:03:53 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 16:03:53 +0100
commita7e84b60366c78b131d43157980fbe4c2df655e6 (patch)
tree391099bfd358e04c8ef38f33311f92b2cd607afe /backend/ArmorObject.cpp
parent798948dbe6f012e194f053c4e862cf697f30b793 (diff)
small cleanup + checks
Diffstat (limited to 'backend/ArmorObject.cpp')
-rw-r--r--backend/ArmorObject.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/ArmorObject.cpp b/backend/ArmorObject.cpp
index 5b921fe..e6dc026 100644
--- a/backend/ArmorObject.cpp
+++ b/backend/ArmorObject.cpp
@@ -3,4 +3,6 @@
void ArmorObject::set_protection(int protection) {
this->protection = protection;
}
-
+int ArmorObject::get_protection() const {
+ return this->protection;
+}