Jamie Slowgrove - AI Assignment 1
Line of Sight & A* path-finding
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
AIAssignment1LineOfSight
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
11
class
Audio
12
{
13
private
:
14
Mix_Music *
audio
;
15
Mix_Chunk *
sound
;
16
public
:
22
Audio
(std::string,
bool
);
23
27
~Audio
();
28
33
void
startAudio
();
34
38
void
playEffect
();
39
43
void
stopAudio
();
44
};
Audio::startAudio
void startAudio()
Definition:
audio.cpp:56
Audio::audio
Mix_Music * audio
Definition:
audio.h:14
Audio::playEffect
void playEffect()
Definition:
audio.cpp:69
Audio::~Audio
~Audio()
Definition:
audio.cpp:41
Audio::sound
Mix_Chunk * sound
Definition:
audio.h:15
Audio::stopAudio
void stopAudio()
Definition:
audio.cpp:78
Audio::Audio
Audio(std::string, bool)
Definition:
audio.cpp:6
Audio
Creates an Audio object to handle the SDL_Mixer. DISCLAIMER - This code is from my PGG SDL Assignment...
Definition:
audio.h:11
Generated on Wed Apr 1 2015 11:45:24 for Jamie Slowgrove - AI Assignment 1 by
1.8.8