Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
genericbullet.h
1 #pragma once
2 
3 #include <string>
4 
5 #include "bullet.h"
6 
7 #include "sound/soundproperties.h"
8 
9 
10 
11 class GenericBullet: public Bullet {
12 public:
13  GenericBullet();
14 
15  virtual float emissiveness() const override;
16  void setEmissiveness(float emissiveness);
17 
18  virtual const SoundProperties& hitSound() const override;
19  void setHitSound(const SoundProperties& hitSound);
20 
21 protected:
22  float m_emissiveness;
23  SoundProperties m_hitSound;
24  virtual void spawnExplosion() override;
25 };
26 
Definition: bullet.h:12
Definition: genericbullet.h:11
Definition: soundproperties.h:5