From 7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 14 Jan 2022 16:40:11 +0100 Subject: enemy slingshot is functional --- src/weapon.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/weapon.hpp') diff --git a/src/weapon.hpp b/src/weapon.hpp index ad63344..d75d826 100644 --- a/src/weapon.hpp +++ b/src/weapon.hpp @@ -11,8 +11,8 @@ #include "raylib.h" -#include #include +#include class Entity; @@ -31,13 +31,13 @@ class AWeapon { const std::string name; public: - AWeapon(float const rg, // range - unsigned int const& dmg, // damage - unsigned int const& mag, // mag capacity - double const& cooldown, // duh - const char* s, // shot sound path - const char* r, // reload sound path - std::string const & nm); // name + AWeapon(float const rg, // range + unsigned int const& dmg, // damage + unsigned int const& mag, // mag capacity + double const& cooldown, // duh + const char* s, // shot sound path + const char* r, // reload sound path + std::string const& nm); // name ~AWeapon(); virtual int bang(std::vector* enemies, Entity* player) = 0; -- cgit v1.2.3