- Implemented a scripted object that can be placed in a level and whose name is
[supertux.git] / src / scripting / sound.cpp
1 #include <config.h>
2
3 #include <string>
4 #include <stdio.h>
5 #include "sound.h"
6 #include "resources.h"
7 #include "audio/sound_manager.h"
8
9 #define NOIMPL      printf("%s not implemented.\n", __PRETTY_FUNCTION__);
10
11 namespace Scripting
12 {
13
14   Sound::Sound()
15   {}
16
17   Sound::~Sound() 
18   {}
19
20   void
21   Sound::play_music(const std::string& )
22   {
23     NOIMPL;
24   }
25
26   void
27   Sound::play_sound(const std::string& name)
28   {
29     sound_manager->play_sound(name);
30   }
31 }