|
R-Type
|
interface for music handling More...
#include <RenderInterfaces.hpp>
Public Member Functions | |
| ~IMusic ()=default | |
| destructor More... | |
| virtual const MusicType & | getMusic () const =0 |
| Get the wrapped music instance. More... | |
| virtual void | load (const std::string &filename)=0 |
| Load music from a file. More... | |
| virtual void | play ()=0 |
| play the loaded music More... | |
interface for music handling
| MusicType | type of the music |
|
default |
destructor
|
pure virtual |
Get the wrapped music instance.
Implemented in GameEngine::Music.
|
pure virtual |
Load music from a file.
| filename | The path to the music file |
Implemented in GameEngine::Music.
|
pure virtual |
play the loaded music
Implemented in GameEngine::Music.