camera can move now
[supertux.git] / src / scripting / sound.cpp
1 #include <config.h>
2
3 #include <string>
4 #include <stdio.h>
5 #include "sound.hpp"
6 #include "resources.hpp"
7 #include "audio/sound_manager.hpp"
8
9 namespace Scripting
10 {
11
12   Sound::Sound()
13   {}
14
15   Sound::~Sound() 
16   {}
17
18   void
19   Sound::play_music(const std::string& filename)
20   {
21     sound_manager->play_music(filename);
22   }
23
24   void
25   Sound::play(const std::string& name)
26   {
27     sound_manager->play(name);
28   }
29 }