From bcb489c3b869fb6c15ee26d511f5042b8ce698ae Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Tue, 4 Jan 2022 16:36:37 +0100 Subject: map read from file --- src/weapon.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/weapon.cpp') 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() {} -- cgit v1.2.3