#include <riot_bomb.h>
Inheritance diagram for RiotBombRocket:
Public Member Functions | |
RiotBombRocket (ExplosiveWeaponConfig &cfg, WeaponLauncher *p_launcher) | |
void | Refresh () |
Protected Member Functions | |
void | SignalOutOfMap () |
void | DoExplosion () |
Definition at line 27 of file riot_bomb.h.
RiotBombRocket::RiotBombRocket | ( | ExplosiveWeaponConfig & | cfg, | |
WeaponLauncher * | p_launcher | |||
) |
Definition at line 35 of file riot_bomb.cpp.
00036 : 00037 WeaponProjectile ("riot_rocket", cfg, p_launcher) 00038 { 00039 explode_colliding_character = true; 00040 }
void RiotBombRocket::DoExplosion | ( | ) | [protected, virtual] |
Reimplemented from WeaponProjectile.
Definition at line 54 of file riot_bomb.cpp.
00055 { 00056 Point2i pos = GetCenter(); 00057 ApplyExplosion (pos, cfg, "weapon/riot_bomb_exp", false, ParticleEngine::LittleESmoke); 00058 }
Here is the call graph for this function:
void RiotBombRocket::Refresh | ( | ) | [virtual] |
Reimplemented from WeaponProjectile.
Definition at line 42 of file riot_bomb.cpp.
00043 { 00044 WeaponProjectile::Refresh(); 00045 image->SetRotation_rad(GetSpeedAngle()); 00046 }
Here is the call graph for this function:
void RiotBombRocket::SignalOutOfMap | ( | ) | [protected, virtual] |
Reimplemented from WeaponProjectile.
Definition at line 48 of file riot_bomb.cpp.
00049 { 00050 GameMessages::GetInstance()->Add (_("The rocket has left the battlefield...")); 00051 WeaponProjectile::SignalOutOfMap(); 00052 }
Here is the call graph for this function: