34 #ifndef _SplitGunProjectile_H__ 35 #define _SplitGunProjectile_H__ 60 virtual void setNumberOfSplits(
int numberOfSplits);
61 virtual void setNumberOfChilds(
int numberOfChilds);
62 virtual void setSplitTime(
float splitTime);
63 virtual void setSpread(
float spread);
64 virtual void setDamageReduction(
float damageReduction);
65 virtual void setSplitSound(
const std::string& soundPath,
const float soundVolume = 1.0);
A BillboardProjectile is a projectile that is represented by a Billboard.
Definition: BillboardProjectile.h:54
The WorldSound class is to be used for sounds with position and orientation.
Definition: WorldSound.h:44
Implementation of the BillboardProjectile class.
::std::string string
Definition: gtest-port.h:756
Shared library macros, enums, constants and forward declarations for the weapons module ...
float splitTime_
Definition: SplitGunProjectile.h:70
Declaration of the Timer class, used to call functions after a given time-interval.
float spread_
Definition: SplitGunProjectile.h:71
Timer splitTimer_
Definition: SplitGunProjectile.h:73
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
float damageReduction_
Definition: SplitGunProjectile.h:72
The SplitGunProjectile is a projectile that may split up into many child projectiles.
Definition: SplitGunProjectile.h:54
int numberOfSplits_
Definition: SplitGunProjectile.h:68
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
WorldSound * splitSound_
Definition: SplitGunProjectile.h:74
#define _WeaponsExport
Definition: WeaponsPrereqs.h:60
int numberOfChilds_
Definition: SplitGunProjectile.h:69