summaryrefslogtreecommitdiffstats
path: root/src/game/client/entity/sound_emitter.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/entity/sound_emitter.hh')
-rw-r--r--src/game/client/entity/sound_emitter.hh20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/game/client/entity/sound_emitter.hh b/src/game/client/entity/sound_emitter.hh
new file mode 100644
index 0000000..72a3f74
--- /dev/null
+++ b/src/game/client/entity/sound_emitter.hh
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "core/resource/resource.hh"
+
+struct SoundEffect;
+
+namespace entity
+{
+struct SoundEmitter final {
+ resource_ptr<SoundEffect> sound;
+ ALuint source;
+
+public:
+ explicit SoundEmitter(void);
+ virtual ~SoundEmitter(void);
+
+public:
+ static void update(void);
+};
+} // namespace entity