wp_1000V Class Reference

#include <wp_1000V.h>

Inherits Weapon.

Inheritance diagram for wp_1000V:

Inheritance graph
[legend]
Collaboration diagram for wp_1000V:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wp_1000V (Player *p)
virtual ~wp_1000V ()
virtual void weaponTick ()
 Executed every frame to fire the Weapon if it is a held-fire Weapon and firing.

Protected Member Functions

virtual void weaponFireAction ()
 Actions to perform when the Weapon is fired.

Protected Attributes

u8 playerNormPallete
bool skipTick

Detailed Description

Definition at line 30 of file wp_1000V.h.


Constructor & Destructor Documentation

wp_1000V::wp_1000V ( Player p  )  [inline]

Definition at line 33 of file wp_1000V.h.

References Weapon::ammo, Weapon::bHeldFire, Weapon::canFireCrouching, Weapon::canFireInAir, Weapon::canFireStanding, Player::defaultPalleteID, Weapon::myType, Weapon::pawn, playerNormPallete, and Pickup::PT_1000V.

wp_1000V::~wp_1000V (  )  [virtual]

Definition at line 24 of file wp_1000V.cpp.

References Weapon::pawn, playerNormPallete, and spriteObject::updatePallete().

Here is the call graph for this function:


Member Function Documentation

void wp_1000V::weaponTick (  )  [virtual]

Executed every frame to fire the Weapon if it is a held-fire Weapon and firing.

Reimplemented from Weapon.

Definition at line 33 of file wp_1000V.cpp.

References spriteObject::getPalleteID(), Player::gm, Weapon::pawn, gameManager::player1000VPallete, playerNormPallete, skipTick, and spriteObject::updatePallete().

Here is the call graph for this function:

virtual void wp_1000V::weaponFireAction (  )  [inline, 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 51 of file wp_1000V.h.


Member Data Documentation

u8 wp_1000V::playerNormPallete [protected]

Definition at line 48 of file wp_1000V.h.

Referenced by weaponTick(), wp_1000V(), and ~wp_1000V().

bool wp_1000V::skipTick [protected]

Definition at line 49 of file wp_1000V.h.

Referenced by weaponTick().


The documentation for this class was generated from the following files:
Generated on Tue Mar 13 23:27:56 2007 for MDuel DS by  doxygen 1.5.1-p1