#include <cWeapon.h>
Public Member Functions | |
virtual void | fire (OID target) |
virtual void | animate (float spf) |
virtual void | drawSolid () |
virtual void | drawEffect () |
virtual void | drawHUD () |
Energetic Particle Rail-Gun.
void cPlasmaGun::animate | ( | float | spf | ) | [virtual] |
Update weapon animation cycles, particle trajectories and timers.
Reimplemented from cWeapon.
void cPlasmaGun::drawEffect | ( | ) | [virtual] |
Draw translucent effects like weapon flares and particles.
Reimplemented from cWeapon.
void cPlasmaGun::drawHUD | ( | ) | [virtual] |
Paints an iconic display of the weapon type and state into ortho [0..1,0..1] view.
Reimplemented from cWeapon.
void cPlasmaGun::drawSolid | ( | ) | [virtual] |
Draw the weapon model itself and non-translucent particles.
Reimplemented from cWeapon.
void cPlasmaGun::fire | ( | OID | target | ) | [virtual] |
Fire Weapon at target, target may be 0.
Implements cWeapon.