#include <entity.h>
Inherits bounceent.

Public Member Functions | |
| grenadeent (playerent *owner, int millis=0) | |
| void | activate (const vec &from, const vec &to) |
| void | _throw (const vec &from, const vec &vel) |
| void | explode () |
| void | splash () |
| virtual void | destroy () |
| virtual bool | applyphysics () |
| void | moveoutsidebbox (const vec &direction, playerent *boundingbox) |
| void | oncollision () |
| void | onmoved (const vec &dist) |
Public Attributes | |
| bool | local |
| int | nadestate |
| float | distsincebounce |
| grenadeent::grenadeent | ( | playerent * | owner, | |
| int | millis = 0 | |||
| ) |
| bool grenadeent::applyphysics | ( | ) | [virtual] |
Reimplemented from bounceent.
| void grenadeent::destroy | ( | ) | [virtual] |
Reimplemented from bounceent.
| void grenadeent::explode | ( | ) |
| void grenadeent::oncollision | ( | ) | [virtual] |
Reimplemented from physent.
| void grenadeent::splash | ( | ) |
| bool grenadeent::local |
1.5.7.1