#include <Music.h>
Public Member Functions | |
Music () | |
~Music () | |
void | Init () |
void | LoadFromFile (CHAR *filename) |
void | Play (gedi::Bool32 loop=gedi::False) |
gedi::Music::Music | ( | ) | [inline] |
Constructor.
Music::~Music | ( | ) |
Destructor.
void Music::Init | ( | ) |
Initializes the music instance.
void Music::LoadFromFile | ( | CHAR * | filename | ) |
Loads the music data from the file.
filename | Path of the music file. |
void Music::Play | ( | gedi::Bool32 | loop = gedi::False |
) |
Plays the music data.
loop | Loop the data if true. |