Music Class Reference
#include <Music.h>
List of all members.
Detailed Description
Class
Music This class represents a single music.
- Author:
- Adrian Gaudebert - adrian.gaudebert@gmail.com
Simon Stephan - s.stephan88@gmail.com
Constructor & Destructor Documentation
Member Function Documentation
Check wether the music has reach its end
const CString & Music::GetFileName |
( |
|
) |
const |
Get the file name of the music
- Returns:
- Link to the file
bool Music::Load |
( |
const char * |
_FileName |
) |
|
Load a music from a file
- Parameters:
-
| _FileName | Link to the file, C string |
bool Music::Load |
( |
const CString & |
_FileName |
) |
|
Load a music from a file
- Parameters:
-
| _FileName | Link to the file, MFC CString |
bool Music::Paused |
( |
|
) |
const |
Check wether the music is paused
bool Music::Playing |
( |
|
) |
const |
Check wether the music is playing
void Music::SetVolume |
( |
float |
_Volume |
) |
|
Set the volume of the music
- Parameters:
-
| _Volume | Float between 0 and 100 |
bool Music::Stopped |
( |
|
) |
const |
Check wether the music is stopped
The documentation for this class was generated from the following files:
- D:/Dossier Adrian/Etude/Licence 3/IHM/Projet/saMP/saMP/Music.h
- D:/Dossier Adrian/Etude/Licence 3/IHM/Projet/saMP/saMP/Music.cpp