summaryrefslogtreecommitdiffstats
path: root/game/client/entity/sound_emitter.hh
blob: 14093db9e0ab43cee72b9018aaa51b79f758bf14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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