diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 16:03:53 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 16:03:53 +0100 |
commit | a7e84b60366c78b131d43157980fbe4c2df655e6 (patch) | |
tree | 391099bfd358e04c8ef38f33311f92b2cd607afe /backend/ArmorObject.cpp | |
parent | 798948dbe6f012e194f053c4e862cf697f30b793 (diff) |
small cleanup + checks
Diffstat (limited to 'backend/ArmorObject.cpp')
-rw-r--r-- | backend/ArmorObject.cpp | 4 |
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; +} |