#include <bounce_ball.h>
Inheritance diagram for BounceBall:
Public Member Functions | |
BounceBall (ExplosiveWeaponConfig &cfg, WeaponLauncher *p_launcher) | |
void | Refresh () |
Protected Member Functions | |
void | SignalOutOfMap () |
Definition at line 33 of file bounce_ball.h.
BounceBall::BounceBall | ( | ExplosiveWeaponConfig & | cfg, | |
WeaponLauncher * | p_launcher | |||
) |
Definition at line 38 of file bounce_ball.cpp.
00039 : 00040 WeaponProjectile ("bounce_ball", cfg, p_launcher) 00041 { 00042 m_rebound_sound = "weapon/grenade_bounce"; 00043 explode_colliding_character = true; 00044 explode_with_collision = false; 00045 }
void BounceBall::Refresh | ( | ) | [virtual] |
Reimplemented from WeaponProjectile.
Definition at line 49 of file bounce_ball.cpp.
00050 { 00051 WeaponProjectile::Refresh(); 00052 // rotation of ball image... 00053 image->SetRotation_rad(GetSpeedAngle()); 00054 }
Here is the call graph for this function:
void BounceBall::SignalOutOfMap | ( | ) | [protected, virtual] |
Reimplemented from WeaponProjectile.
Definition at line 59 of file bounce_ball.cpp.
00060 { 00061 GameMessages::GetInstance()->Add (_("The ball left the battlefield before exploding")); 00062 WeaponProjectile::SignalOutOfMap(); 00063 }
Here is the call graph for this function: