summaryrefslogtreecommitdiffstats
path: root/src/game/client/entity/sound_emitter.hh
blob: 6bc0846d3bdcaa119cafa63aee838edcab89a748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "core/resource/resource.hh"

struct SoundEffect;

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

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

public:
    static void update(void);
};