Flock You!
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Flock You!
audio.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <SDL_mixer.h>
4
#include <string>
5
#include <iostream>
6
10
class
Audio
11
{
12
private
:
13
Mix_Music *
audio
;
14
Mix_Chunk *
sound
;
15
public
:
22
Audio
(std::string,
bool
);
23
28
~Audio
();
29
34
void
startAudio
();
35
40
void
playEffect
();
41
45
void
stopAudio
();
46
};
Audio::startAudio
void startAudio()
Definition:
audio.cpp:56
Audio::audio
Mix_Music * audio
Definition:
audio.h:13
Audio::playEffect
void playEffect()
Definition:
audio.cpp:69
Audio::~Audio
~Audio()
Definition:
audio.cpp:41
Audio::sound
Mix_Chunk * sound
Definition:
audio.h:14
Audio::stopAudio
void stopAudio()
Definition:
audio.cpp:78
Audio::Audio
Audio(std::string, bool)
Definition:
audio.cpp:6
Audio
Creates a Audio object to handle the SDL_Mixer.
Definition:
audio.h:10
Generated on Mon Jun 1 2015 00:15:12 for Flock You! by
1.8.8