diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-14 16:40:11 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-14 16:40:11 +0100 |
commit | 7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349 (patch) | |
tree | a85c1a47e1f41c6c6530f3fe3cb6ce66a2ea61c7 /src/weapon.hpp | |
parent | strange behavior... I WILL find out whats going on ! (diff) | |
download | threshold-7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349.tar.gz threshold-7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349.tar.bz2 threshold-7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349.tar.xz threshold-7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349.tar.zst threshold-7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349.zip |
enemy slingshot is functional
Diffstat (limited to 'src/weapon.hpp')
-rw-r--r-- | src/weapon.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
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 <vector> #include <iostream> +#include <vector> 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<Entity>* enemies, Entity* player) = 0; |