The interface of the sound engine. The ISoundEngine plays the given sound file when called. It is responsible for managing whatever underlying sound engine implementation is used. The ISoundEngine is accessible through the GameEngine.
ISoundEngine.h
The interface of the sound engine. | |
Plays the given sound. | |
The ISoundEngine destructor. |
|
Plays the given sound. The sound name must be the name of a sound file in the /sounds directory or one of its subdirectories. If the sound cannot be played, an error message is thrown to the screen.
| sound | The name of the sound file to play. |
|
| virtual ~ISoundEngine()=0 |