|
Level H Engine
|
Handles audio using SDL_Mixer. More...
#include <Audio.h>

Public Member Functions | |
| Audio (std::string file) | |
| Constructs the Audio object. More... | |
| ~Audio () | |
| Destructs the Audio object. More... | |
| void | playEffect () |
| Plays the sound effect. More... | |
Private Attributes | |
| Mix_Chunk * | audio |
| Variable for the audio. More... | |
Handles audio using SDL_Mixer.
| Audio::Audio | ( | std::string | file | ) |
Constructs the Audio object.
| file | The file to be loaded. |

| Audio::~Audio | ( | ) |
Destructs the Audio object.
| void Audio::playEffect | ( | ) |
Plays the sound effect.

|
private |
Variable for the audio.
1.8.13