#include <weapon.h>
Inherits weapon.

Public Member Functions | |
| grenades (playerent *owner) | |
| bool | attack (vec &targ) |
| void | attackfx (const vec &from, const vec &to, int millis) |
| int | modelanim () |
| void | activatenade (const vec &to) |
| void | thrownade () |
| void | thrownade (const vec &vel) |
| void | dropnade () |
| void | renderstats () |
| bool | selectable () |
| void | reset () |
| bool | busy () |
| void | onselecting () |
| void | onownerdies () |
| int | flashtime () const |
Public Attributes | |
| grenadeent * | inhandnade |
| const int | throwwait |
| int | throwmillis |
| int | state |
| grenades::grenades | ( | playerent * | owner | ) |
| void grenades::activatenade | ( | const vec & | to | ) |
Implements weapon.
| bool grenades::busy | ( | ) | [virtual] |
Reimplemented from weapon.
| void grenades::dropnade | ( | ) |
| int grenades::flashtime | ( | ) | const [virtual] |
Reimplemented from weapon.
| int grenades::modelanim | ( | ) | [virtual] |
Implements weapon.
| void grenades::onownerdies | ( | ) | [virtual] |
Reimplemented from weapon.
| void grenades::onselecting | ( | ) | [virtual] |
Reimplemented from weapon.
| void grenades::renderstats | ( | ) | [virtual] |
Reimplemented from weapon.
| void grenades::reset | ( | ) | [virtual] |
Reimplemented from weapon.
| bool grenades::selectable | ( | ) | [virtual] |
Reimplemented from weapon.
| void grenades::thrownade | ( | const vec & | vel | ) |
| void grenades::thrownade | ( | ) |
| int grenades::state |
| const int grenades::throwwait |
1.5.7.1