gun Struct Reference

#include <weapon.h>

Inherits weapon.

Inherited by akimbo, assaultrifle, pistol, shotgun, sniperrifle, and subgun.

Collaboration diagram for gun:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gun (playerent *owner, int type)
virtual bool attack (vec &targ)
virtual void attackfx (const vec &from, const vec &to, int millis)
int modelanim ()
void checkautoreload ()


Constructor & Destructor Documentation

gun::gun ( playerent *  owner,
int  type 
)


Member Function Documentation

bool gun::attack ( vec &  targ  )  [virtual]

Implements weapon.

Reimplemented in shotgun, and akimbo.

void gun::attackfx ( const vec &  from,
const vec &  to,
int  millis 
) [virtual]

Implements weapon.

Reimplemented in sniperrifle, and shotgun.

void gun::checkautoreload (  ) 

int gun::modelanim (  )  [virtual]

Implements weapon.


The documentation for this struct was generated from the following files:

Generated on Mon Dec 8 21:41:35 2008 for AssaultCube by  doxygen 1.5.7.1