#include <wp_warp.h>
Inherits Weapon.
Inheritance diagram for wp_warp:
Public Member Functions | |
wp_warp (Player *p) | |
virtual | ~wp_warp () |
Protected Member Functions | |
virtual void | weaponFireAction () |
Actions to perform when the Weapon is fired. |
Definition at line 26 of file wp_warp.h.
wp_warp::wp_warp | ( | Player * | p | ) | [inline] |
Definition at line 29 of file wp_warp.h.
References Weapon::ammo, Weapon::bHeldFire, Weapon::canFireCrouching, Weapon::canFireInAir, Weapon::canFireStanding, Weapon::canMoveWhileFiring, Weapon::myType, and Pickup::PT_WARP.
wp_warp::~wp_warp | ( | ) | [virtual] |
Definition at line 23 of file wp_warp.cpp.
void wp_warp::weaponFireAction | ( | ) | [protected, virtual] |
Actions to perform when the Weapon is fired.
This may be only executed once for single-fire Weapons or every frame for held-fire Weapons.
Implements Weapon.
Definition at line 25 of file wp_warp.cpp.
References Weapon::pawn, Player::playWarpEffect(), and spriteObject::setPos().
Here is the call graph for this function: