blob: d5834d1da5e73bb9fa0b0442cccfe928caccd5e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|