C# Class GameCommon.GameMusic

Class for management of music in game.
显示文件 Open project: DarrenHassan/GDM4242-GroupD

Public Methods

Method Description
MusicPlay ( string fileName, bool loop ) : void

Play music.

MusicStop ( ) : void

Stop music.

Private Methods

Method Description
Init ( ) : void

Method Details

MusicPlay() public static method

Play music.
public static MusicPlay ( string fileName, bool loop ) : void
fileName string The file name.
loop bool Looping flag.
return void

MusicStop() public static method

Stop music.
public static MusicStop ( ) : void
return void