#include <cWeapon.h>
Public Member Functions | |
virtual void | fire (OID target) |
virtual void | animate (float spf) |
virtual void | drawSolid () |
virtual void | drawEffect () |
Explosion with dust, smoke, dirt and shrapnels.
void cExplosion::animate | ( | float | spf | ) | [virtual] |
Update weapon animation cycles, particle trajectories and timers.
Reimplemented from cWeapon.
void cExplosion::drawEffect | ( | ) | [virtual] |
Draw translucent effects like weapon flares and particles.
Reimplemented from cWeapon.
void cExplosion::drawSolid | ( | ) | [virtual] |
Draw the weapon model itself and non-translucent particles.
Reimplemented from cWeapon.
void cExplosion::fire | ( | OID | target | ) | [virtual] |
Fire Weapon at target, target may be 0.
Implements cWeapon.