-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSound.hpp
More file actions
29 lines (23 loc) · 708 Bytes
/
Copy pathSound.hpp
File metadata and controls
29 lines (23 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*#pragma once
//---------------------------------------------------------------------------------
// Written by Terence J. Grant - tjgrant [at] tatewake [dot] com
// Find the full tutorial at: http://gamedev.tutsplus.com/series/
//----------------------------------------------------------------------------------
class tSound;
class Sound
: public tSingleton<Sound>
{
protected:
tSound* mMusic;
std::vector<tSound*> mExplosions;
std::vector<tSound*> mShots;
std::vector<tSound*> mSpawns;
protected:
Sound();
public:
tSound* getMusic() const;
tSound* getExplosion() const;
tSound* getShot() const;
tSound* getSpawn() const;
friend class tSingleton<Sound>;
};*/