Bgm Class Reference

Music data. More...

List of all members.

Public Member Functions

 Bgm (string filename)
 Bgm constructor (from the filename)
 Bgm (byte[] fileImage)
 Bgm constructor (from the file image)
void Dispose ()
 Frees unmanaged resources of the Bgm.
BgmPlayer CreatePlayer ()
 Creates a BgmPlayer object to play this Bgm.

Detailed Description

Music data.

mp3 files can be used as music data.


Constructor & Destructor Documentation

Bgm ( string  filename)

Bgm constructor (from the filename)

Parameters:
filenameMusic data filename
Bgm ( byte[]  fileImage)

Bgm constructor (from the file image)

Parameters:
fileImageMusic data file image

Member Function Documentation

BgmPlayer CreatePlayer ( )

Creates a BgmPlayer object to play this Bgm.

Returns:
BgmPlayer object linked to the music data