C# Class Protogame.AudioAssetLoader

The audio asset loader.
Inheritance: IAssetLoader
显示文件 Open project: RedpointGames/Protogame

Public Methods

Method Description
AudioAssetLoader ( IAssetContentManager assetContentManager )

Initializes a new instance of the AudioAssetLoader class.

CanHandle ( IRawAsset data ) : bool

The can handle.

CanNew ( ) : bool

The can new.

GetDefault ( IAssetManager assetManager, string name ) : IAsset

The get default.

GetNew ( IAssetManager assetManager, string name ) : IAsset

The get new.

Handle ( IAssetManager assetManager, string name, IRawAsset data ) : IAsset

The handle.

Method Details

AudioAssetLoader() public method

Initializes a new instance of the AudioAssetLoader class.
public AudioAssetLoader ( IAssetContentManager assetContentManager )
assetContentManager IAssetContentManager /// The asset content manager. ///

CanHandle() public method

The can handle.
public CanHandle ( IRawAsset data ) : bool
data IRawAsset /// The data. ///
return bool

CanNew() public method

The can new.
public CanNew ( ) : bool
return bool

GetDefault() public method

The get default.
public GetDefault ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager /// The asset manager. ///
name string /// The name. ///
return IAsset

GetNew() public method

The get new.
public GetNew ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager /// The asset manager. ///
name string /// The name. ///
return IAsset

Handle() public method

The handle.
public Handle ( IAssetManager assetManager, string name, IRawAsset data ) : IAsset
assetManager IAssetManager /// The asset manager. ///
name string /// The name. ///
data IRawAsset /// The data. ///
return IAsset