C# Class HoldItCore.Sounds.SoundManager

显示文件 Open project: ibdknox/swred

Public Methods

Method Description
InitSoundSource ( ISoundPlayer player ) : void
Play ( string curSound, int volume, bool loop ) : int
Stop ( int index ) : void
StopAll ( ) : void

Method Details

InitSoundSource() public static method

public static InitSoundSource ( ISoundPlayer player ) : void
player ISoundPlayer
return void

Play() public static method

public static Play ( string curSound, int volume, bool loop ) : int
curSound string
volume int
loop bool
return int

Stop() public static method

public static Stop ( int index ) : void
index int
return void

StopAll() public static method

public static StopAll ( ) : void
return void