22 lines
272 B
C
22 lines
272 B
C
|
#ifndef AUDIO_H__
|
||
|
#define AUDIO_H__
|
||
|
|
||
|
#include <irrKlang.h>
|
||
|
#include "define.h"
|
||
|
|
||
|
class Audio {
|
||
|
private:
|
||
|
irrklang::ISoundEngine* m_WavEngine;
|
||
|
bool m_state = false;
|
||
|
|
||
|
public:
|
||
|
Audio();
|
||
|
~Audio();
|
||
|
|
||
|
bool GetState() const;
|
||
|
|
||
|
void SetState(bool state);
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // AUDIO_H__
|