2012-03-17 09:45:18 +00:00
|
|
|
#ifndef GAME_SOUND_SOUND_H
|
|
|
|
#define GAME_SOUND_SOUND_H
|
|
|
|
|
|
|
|
namespace MWSound
|
|
|
|
{
|
|
|
|
class Sound
|
|
|
|
{
|
2012-03-18 19:03:15 +00:00
|
|
|
virtual void stop() = 0;
|
2012-03-17 09:45:18 +00:00
|
|
|
virtual bool isPlaying() = 0;
|
2012-03-18 19:03:15 +00:00
|
|
|
virtual void update(const float *pos) = 0;
|
2012-03-17 09:45:18 +00:00
|
|
|
|
2012-03-24 10:49:03 +00:00
|
|
|
Sound& operator=(const Sound &rhs);
|
|
|
|
Sound(const Sound &rhs);
|
|
|
|
|
2012-03-17 09:45:18 +00:00
|
|
|
public:
|
2012-03-24 10:49:03 +00:00
|
|
|
Sound() { }
|
2012-03-17 09:45:18 +00:00
|
|
|
virtual ~Sound() { }
|
|
|
|
|
|
|
|
friend class OpenAL_Output;
|
|
|
|
friend class SoundManager;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|