aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.hpp
blob: 1f4393d9f3fb1814d9fc8298b09de5773bbf5697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*********************************/
/*   THRESHOLD        (  //      */
/*   weaponh           ( )/      */
/*   by salade         )(/       */
/*  ________________  ( /)       */
/* ()__)____________)))))   :^}  */
/*********************************/

#ifndef WEAPON_H_
#define WEAPON_H_

#include "raylib.h"

class Weapon {
  Sound shot;
  Sound reload;

  unsigned int max;


  float const ⦥
  unsigned int const &damage;

public:
  Weapon(float const &rg, unsigned int const &dmg, unsigned int const & mag, const char *s, const char *r);
  ~Weapon();

  int bang();
  void refill();

  bool empty;
  unsigned int barrel;
};

#endif // WEAPON_H_