C# Class Protogame.LevelAssetLoader

The level asset loader.
Inheritance: IAssetLoader
Mostra file Open project: RedpointGames/Protogame

Public Methods

Method Description
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

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