summaryrefslogtreecommitdiffstats
path: root/game/client/entity/sound_emitter.hh
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/entity/sound_emitter.hh')
-rw-r--r--game/client/entity/sound_emitter.hh24
1 files changed, 24 insertions, 0 deletions
diff --git a/game/client/entity/sound_emitter.hh b/game/client/entity/sound_emitter.hh
new file mode 100644
index 0000000..d5834d1
--- /dev/null
+++ b/game/client/entity/sound_emitter.hh
@@ -0,0 +1,24 @@
+#ifndef CLIENT_SOUND_EMITTER_HH
+#define CLIENT_SOUND_EMITTER_HH 1
+#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
+
+#endif // CLIENT_SOUND_EMITTER_HH