Ajouts de musique et irrKlang.
This commit is contained in:
22
SQCSim2021/audio.h
Normal file
22
SQCSim2021/audio.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#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__
|
Reference in New Issue
Block a user