diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-04 16:36:37 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-04 16:36:37 +0100 |
commit | bcb489c3b869fb6c15ee26d511f5042b8ce698ae (patch) | |
tree | cd663d747e0ed00d57c299e85ad193971ed8febc /src/weapon.cpp | |
parent | add headers (diff) | |
download | threshold-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.cpp | 7 |
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() {} |