aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-04 16:36:37 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-04 16:36:37 +0100
commitbcb489c3b869fb6c15ee26d511f5042b8ce698ae (patch)
treecd663d747e0ed00d57c299e85ad193971ed8febc /src/weapon.cpp
parentadd headers (diff)
downloadthreshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.gz
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.bz2
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.xz
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.tar.zst
threshold-bcb489c3b869fb6c15ee26d511f5042b8ce698ae.zip
map read from file
Diffstat (limited to 'src/weapon.cpp')
-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() {}