grenades Struct Reference

#include <weapon.h>

Inherits weapon.

Collaboration diagram for grenades:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 grenades (playerent *owner)
bool attack (vec &targ)
void attackfx (const vec &from, const vec &to, int millis)
int modelanim ()
void activatenade (const vec &to)
void thrownade ()
void thrownade (const vec &vel)
void dropnade ()
void renderstats ()
bool selectable ()
void reset ()
bool busy ()
void onselecting ()
void onownerdies ()
int flashtime () const

Public Attributes

grenadeent * inhandnade
const int throwwait
int throwmillis
int state


Constructor & Destructor Documentation

grenades::grenades ( playerent *  owner  ) 


Member Function Documentation

void grenades::activatenade ( const vec &  to  ) 

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

Implements weapon.

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

Implements weapon.

bool grenades::busy (  )  [virtual]

Reimplemented from weapon.

void grenades::dropnade (  ) 

int grenades::flashtime (  )  const [virtual]

Reimplemented from weapon.

int grenades::modelanim (  )  [virtual]

Implements weapon.

void grenades::onownerdies (  )  [virtual]

Reimplemented from weapon.

void grenades::onselecting (  )  [virtual]

Reimplemented from weapon.

void grenades::renderstats (  )  [virtual]

Reimplemented from weapon.

void grenades::reset (  )  [virtual]

Reimplemented from weapon.

bool grenades::selectable (  )  [virtual]

Reimplemented from weapon.

void grenades::thrownade ( const vec &  vel  ) 

void grenades::thrownade (  ) 


Member Data Documentation


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