equal
deleted
inserted
replaced
22 bool visible; |
22 bool visible; |
23 TickCount age; |
23 TickCount age; |
24 int reloadTimer; |
24 int reloadTimer; |
25 |
25 |
26 public: |
26 public: |
27 Weapon (TickCount age, float velocity, float explosionRadius, int reloadTime, std::string name); |
27 Weapon (TickCount age, float velocity, float recoil, float explosionRadius, int reloadTime, std::string name); |
28 |
28 |
29 // advance the reload timer |
29 // advance the reload timer |
30 void tickReload (TimeMS dt); |
30 void tickReload (TimeMS dt); |
31 |
31 |
32 // can the weapon be fired (not reloading, have a clip, etc) |
32 // can the weapon be fired (not reloading, have a clip, etc) |