GrenadeLauncher Class Reference

#include <grenade.h>

Inheritance diagram for GrenadeLauncher:

Inheritance graph
[legend]
Collaboration diagram for GrenadeLauncher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GrenadeLauncher ()

Protected Member Functions

WeaponProjectileGetProjectileInstance ()

Detailed Description

Definition at line 44 of file grenade.h.


Constructor & Destructor Documentation

GrenadeLauncher::GrenadeLauncher (  ) 

Definition at line 63 of file grenade.cpp.

00063                                  :
00064   WeaponLauncher(WEAPON_GRENADE, "grenade", new ExplosiveWeaponConfig(), VISIBLE_ONLY_WHEN_INACTIVE)
00065 {
00066 
00067   m_name = _("Grenade");
00068   m_allow_change_timeout = true;
00069   ReloadLauncher();
00070 }

Here is the call graph for this function:


Member Function Documentation

WeaponProjectile * GrenadeLauncher::GetProjectileInstance (  )  [protected, virtual]

Implements WeaponLauncher.

Definition at line 72 of file grenade.cpp.

00073 {
00074   return dynamic_cast<WeaponProjectile *>
00075       (new Grenade(cfg(),dynamic_cast<WeaponLauncher *>(this)));
00076 }

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 13:50:53 2007 for Wormux by  doxygen 1.4.7