From a7e84b60366c78b131d43157980fbe4c2df655e6 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 16:03:53 +0100 Subject: small cleanup + checks --- backend/ArmorObject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backend/ArmorObject.cpp') 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; +} -- cgit v1.2.3