projects
/
supertux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ac97f255748bd634a3a6892d934fb8582c441ada
[supertux.git]
/
src
/
scripting
/
sound.hpp
1
#ifndef __SOUND_H__
2
#define __SOUND_H__
3
4
namespace Scripting
5
{
6
7
/**
8
* This class allows manipulating the sound output of the game
9
*/
10
class Sound
11
{
12
public:
13
void play_music(const std::string& musicfile);
14
/**
15
* Play a sound effect. The name should be without path or .wav extension
16
*/
17
void play(const std::string& soundfile);
18
19
~Sound();
20
21
#ifndef SCRIPTING_API
22
Sound();
23
#endif
24
};
25
26
}
27
28
#endif
29