diff options
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; +} |