C# Class TouchyTales.AudioLibrary

Datei anzeigen Open project: Syderis/CellSDK-Samples Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Dispose all sound components

Initialize ( ) : void

Initialize all sound components

Play ( int sound ) : void

To play the indicated sound

Stop ( int sound ) : void

Private Methods

Method Description
AudioLibrary ( ) : Syderis.CellSDK.Core

Private constructor (Singleton)

Method Details

Dispose() public method

Dispose all sound components
public Dispose ( ) : void
return void

Initialize() public method

Initialize all sound components
public Initialize ( ) : void
return void

Play() public method

To play the indicated sound
public Play ( int sound ) : void
sound int sound id
return void

Stop() public method

public Stop ( int sound ) : void
sound int
return void