ClusterLauncher Class Reference

#include <cluster_bomb.h>

Inheritance diagram for ClusterLauncher:

Inheritance graph
[legend]
Collaboration diagram for ClusterLauncher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClusterLauncher ()

Protected Member Functions

WeaponProjectileGetProjectileInstance ()

Private Member Functions

ClusterBombConfigcfg ()

Detailed Description

Definition at line 67 of file cluster_bomb.h.


Constructor & Destructor Documentation

ClusterLauncher::ClusterLauncher (  ) 

Definition at line 106 of file cluster_bomb.cpp.

00106                                  :
00107   WeaponLauncher(WEAPON_CLUSTER_BOMB, "cluster_bomb", new ClusterBombConfig(), VISIBLE_ONLY_WHEN_INACTIVE)
00108 {
00109   m_name = _("Cluster Bomb");
00110   ignore_collision_signal = true;
00111   ReloadLauncher();
00112 }

Here is the call graph for this function:


Member Function Documentation

ClusterBombConfig & ClusterLauncher::cfg (  )  [private]

Reimplemented from WeaponLauncher.

Definition at line 120 of file cluster_bomb.cpp.

00121 {
00122   return static_cast<ClusterBombConfig&>(*extra_params);
00123 }

Here is the caller graph for this function:

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

Implements WeaponLauncher.

Definition at line 114 of file cluster_bomb.cpp.

00115 {
00116   return dynamic_cast<WeaponProjectile *>
00117       (new ClusterBomb(cfg(),dynamic_cast<WeaponLauncher *>(this)));
00118 }

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:42:18 2007 for Wormux by  doxygen 1.4.7