aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/weapon.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/weapon.cpp b/src/weapon.cpp
index 74bf960..c876481 100644
--- a/src/weapon.cpp
+++ b/src/weapon.cpp
@@ -8,9 +8,8 @@
#include "weapon.hpp"
-Weapon::Weapon()
-{
-
-}
+Weapon::Weapon(float const & rg, unsigned int const & dmg) :
+ range(rg), damage(dmg)
+{}
Weapon::~Weapon() {}