#include <submachine_gun.h>
Inheritance diagram for SubMachineGunBullet:


Public Member Functions | |
| SubMachineGunBullet (ExplosiveWeaponConfig &cfg, WeaponLauncher *p_launcher) | |
Protected Member Functions | |
| void | ShootSound () |
| void | RandomizeShoot (double &angle, double &strength) |
Definition at line 32 of file submachine_gun.h.
| SubMachineGunBullet::SubMachineGunBullet | ( | ExplosiveWeaponConfig & | cfg, | |
| WeaponLauncher * | p_launcher | |||
| ) |
Definition at line 41 of file submachine_gun.cpp.
00042 : 00043 WeaponBullet("m16_bullet", cfg, p_launcher) 00044 { 00045 }
| void SubMachineGunBullet::RandomizeShoot | ( | double & | angle, | |
| double & | strength | |||
| ) | [protected, virtual] |
Reimplemented from WeaponProjectile.
Definition at line 47 of file submachine_gun.cpp.
00048 { 00049 angle += M_PI * randomSync.GetDouble(-SUBMACHINE_RANDOM_ANGLE,SUBMACHINE_RANDOM_ANGLE); 00050 }
Here is the call graph for this function:

| void SubMachineGunBullet::ShootSound | ( | ) | [protected, virtual] |
Reimplemented from WeaponProjectile.
Definition at line 52 of file submachine_gun.cpp.
Here is the call graph for this function:

1.4.7