BounceBallLauncher Class Reference

#include <bounce_ball.h>

Inheritance diagram for BounceBallLauncher:

Inheritance graph
[legend]
Collaboration diagram for BounceBallLauncher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BounceBallLauncher ()

Protected Member Functions

bool p_Shoot ()
WeaponProjectileGetProjectileInstance ()

Detailed Description

Definition at line 43 of file bounce_ball.h.


Constructor & Destructor Documentation

BounceBallLauncher::BounceBallLauncher (  ) 

Definition at line 67 of file bounce_ball.cpp.

00067                                        :
00068   WeaponLauncher(WEAPON_BOUNCE_BALL, "bounce_ball", new ExplosiveWeaponConfig(), VISIBLE_ONLY_WHEN_INACTIVE)
00069 {
00070   m_name = _("Bounce Ball");
00071   ReloadLauncher();
00072 }

Here is the call graph for this function:


Member Function Documentation

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

Implements WeaponLauncher.

Definition at line 74 of file bounce_ball.cpp.

00075 {
00076   return dynamic_cast<WeaponProjectile *>
00077       (new BounceBall(cfg(),dynamic_cast<WeaponLauncher *>(this)));
00078 }

Here is the call graph for this function:

bool BounceBallLauncher::p_Shoot (  )  [protected, virtual]

Reimplemented from WeaponLauncher.

Definition at line 80 of file bounce_ball.cpp.

00081 {
00082   if (max_strength == 0)
00083     projectile->Shoot (10);
00084   else
00085     projectile->Shoot (m_strength);
00086   projectile = NULL;
00087   ReloadLauncher();
00088   return true;
00089 }

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:37:29 2007 for Wormux by  doxygen 1.4.7