#include <bounce_ball.h>
Inheritance diagram for BounceBallLauncher:
Public Member Functions | |
BounceBallLauncher () | |
Protected Member Functions | |
bool | p_Shoot () |
WeaponProjectile * | GetProjectileInstance () |
Definition at line 43 of file bounce_ball.h.
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:
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: