RiotBombRocket Class Reference

#include <riot_bomb.h>

Inheritance diagram for RiotBombRocket:

Inheritance graph
[legend]
Collaboration diagram for RiotBombRocket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RiotBombRocket (ExplosiveWeaponConfig &cfg, WeaponLauncher *p_launcher)
void Refresh ()

Protected Member Functions

void SignalOutOfMap ()
void DoExplosion ()

Detailed Description

Definition at line 27 of file riot_bomb.h.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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:


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 14:14:47 2007 for Wormux by  doxygen 1.4.7