Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
genericrocket.h
1 #pragma once
2 
3 #include <string>
4 
5 #include "worldobject/genericworldobject.h"
6 
7 #include "rocket.h"
8 
9 class SoundProperties;
10 
11 class GenericRocket: public Rocket {
12 public:
13  GenericRocket();
14 
15  virtual const SoundProperties& hitSound() const override;
16  void setHitSound(const SoundProperties& hitSound);
17 
18 protected:
19  SoundProperties m_hitSound;
20 
21  virtual void spawnExplosion() override;
22  virtual void onLifetimeOver() override;
23 };
24 
Definition: genericrocket.h:11
Definition: rocket.h:22
Definition: soundproperties.h:5