From 24cbda44818cf3a866685638ef6cdbf466a1fb1a Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 7 Jan 2022 13:38:58 +0100 Subject: add new weapon, AR and add switching weapons --- src/wp_assaultrifle.hpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/wp_assaultrifle.hpp (limited to 'src/wp_assaultrifle.hpp') diff --git a/src/wp_assaultrifle.hpp b/src/wp_assaultrifle.hpp new file mode 100644 index 0000000..2780a29 --- /dev/null +++ b/src/wp_assaultrifle.hpp @@ -0,0 +1,23 @@ +/*********************************/ +/* THRESHOLD ( // */ +/* rifle ( )/ */ +/* by salade )(/ */ +/* ________________ ( /) */ +/* ()__)____________))))) :^} */ +/*********************************/ + +#ifndef WP_ASSAULTRIFLE_H_ +#define WP_ASSAULTRIFLE_H_ + +#include "weapon.hpp" + +class wp_assaultrifle : public AWeapon { + public: + wp_assaultrifle(const char *s, const char *r); + ~wp_assaultrifle(); + + int bang(std::vector * enemies, Vector2 playerDirection, Vector2 playerPosition, int * victims) ; +}; + + +#endif -- cgit v1.2.3