CMusic Class Reference

Plays music. More...

#include <>

List of all members.

Public Member Functions

 CMusic ()
 ~CMusic ()
bool Init (const char *szMusicFilePath)
void Cleanup ()
void Play (int loops)
 Play the loaded music.

Public Attributes

Mix_Music * mpMusic

Detailed Description

Plays music.

Constructor & Destructor Documentation

CMusic::CMusic (  ) 

CMusic::~CMusic (  ) 

Member Function Documentation

bool CMusic::Init ( const char *  szMusicFilePath  ) 

void CMusic::Cleanup (  ) 

void CMusic::Play ( int  loops  ) 

Play the loaded music.

loops  Number of times the music should be looped.
0 doesn't play the music
-1 loops an infinite number of times

Member Data Documentation

Mix_Music* CMusic::mpMusic

The documentation for this class was generated from the following files:

Generated on Fri Feb 22 09:36:53 2008 for Mega Maryo by  doxygen 1.5.5