grenadeent Class Reference

#include <entity.h>

Inherits bounceent.

Collaboration diagram for grenadeent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 grenadeent (playerent *owner, int millis=0)
void activate (const vec &from, const vec &to)
void _throw (const vec &from, const vec &vel)
void explode ()
void splash ()
virtual void destroy ()
virtual bool applyphysics ()
void moveoutsidebbox (const vec &direction, playerent *boundingbox)
void oncollision ()
void onmoved (const vec &dist)

Public Attributes

bool local
int nadestate
float distsincebounce


Constructor & Destructor Documentation

grenadeent::grenadeent ( playerent *  owner,
int  millis = 0 
)


Member Function Documentation

void grenadeent::_throw ( const vec &  from,
const vec &  vel 
)

void grenadeent::activate ( const vec &  from,
const vec &  to 
)

bool grenadeent::applyphysics (  )  [virtual]

Reimplemented from bounceent.

void grenadeent::destroy (  )  [virtual]

Reimplemented from bounceent.

void grenadeent::explode (  ) 

void grenadeent::moveoutsidebbox ( const vec &  direction,
playerent *  boundingbox 
)

void grenadeent::oncollision (  )  [virtual]

Reimplemented from physent.

void grenadeent::onmoved ( const vec &  dist  )  [virtual]

Reimplemented from physent.

void grenadeent::splash (  ) 


Member Data Documentation


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

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