aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/sword.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic/src/sword.cpp')
-rw-r--r--examples/basic/src/sword.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/basic/src/sword.cpp b/examples/basic/src/sword.cpp
new file mode 100644
index 0000000..5d5ec40
--- /dev/null
+++ b/examples/basic/src/sword.cpp
@@ -0,0 +1,6 @@
+#include "sword.hpp"
+
+int Sword::get_strength() const noexcept
+{
+ return _strength;
+}