58             virtual void fire() 
override;
    67                 { this->mesh_ = mesh; }
    74                 { 
return this->mesh_; }
    81                 { this->sound_ = sound; }
    88                 { 
return this->sound_; }
    95                 { this->material_ = material; }
   101                 { 
return this->material_; }
   103             void setDelay(
float delay);
   109                 { 
return this->delay_; }
 
::std::string string
Definition: gtest-port.h:756
 
float getDelay() const 
Get the firing delay. 
Definition: HsW01.h:108
 
Shared library macros, enums, constants and forward declarations for the weapons module  ...
 
std::string mesh_
The mesh. 
Definition: HsW01.h:115
 
void setSound(const std::string &sound)
Set the sound. 
Definition: HsW01.h:80
 
void setMaterial(const std::string &material)
Set the material. 
Definition: HsW01.h:94
 
const std::string & getSound() const 
Get the sound. 
Definition: HsW01.h:87
 
void setMesh(const std::string &mesh)
Set the mesh. 
Definition: HsW01.h:66
 
Timer delayTimer_
A timer to delay the firing. 
Definition: HsW01.h:122
 
xmlelement
Definition: Super.h:519
 
A WeaponMode defines how a Weapon is used. 
Definition: WeaponMode.h:49
 
Declaration of the Timer class, used to call functions after a given time-interval. 
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
Mode
Definition: CorePrereqs.h:102
 
float speed_
The speed of the fired projectile. 
Definition: HsW01.h:120
 
std::string material_
The material. 
Definition: HsW01.h:114
 
unsigned int delay(float delay, const std::string &command)
Console-command: Calls another console command after delay seconds (game time). 
Definition: Timer.cc:65
 
const std::string & getMaterial() const 
Get the material. 
Definition: HsW01.h:100
 
Shoots laser beams. 
Definition: HsW01.h:52
 
std::string sound_
The sound. 
Definition: HsW01.h:116
 
float delay_
The firing delay. 
Definition: HsW01.h:121
 
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
 
const std::string & getMesh() const 
Get the mesh. 
Definition: HsW01.h:73
 
#define _WeaponsExport
Definition: WeaponsPrereqs.h:60