summaryrefslogtreecommitdiffstats
path: root/src/game/client/sound_emitter.hh
blob: 17598ad9ed34869c22d1f9061bfb7a06a0942143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef CLIENT_SOUND_EMITTER_HH
#define CLIENT_SOUND_EMITTER_HH 1
#pragma once

#include "core/resource.hh"

struct SoundEffect;

struct SoundEmitterComponent final {
    resource_ptr<SoundEffect> sound;
    ALuint source;

public:
    explicit SoundEmitterComponent(void);
    virtual ~SoundEmitterComponent(void);

public:
    static void update(void);
};

#endif // CLIENT_SOUND_EMITTER_HH