aboutsummaryrefslogtreecommitdiff
path: root/backend/ArmorObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ArmorObject.cpp')
-rw-r--r--backend/ArmorObject.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/ArmorObject.cpp b/backend/ArmorObject.cpp
new file mode 100644
index 0000000..5b921fe
--- /dev/null
+++ b/backend/ArmorObject.cpp
@@ -0,0 +1,6 @@
+#include "ArmorObject.h"
+
+void ArmorObject::set_protection(int protection) {
+ this->protection = protection;
+}
+