C# Class Protogame.LevelAssetLoader

The level asset loader.
Inheritance: IAssetLoader
Afficher le fichier Open project: RedpointGames/Protogame

Méthodes publiques

Méthode 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 méthode

The can handle.
public CanHandle ( IRawAsset data ) : bool
data IRawAsset /// The data. ///
Résultat bool

CanNew() public méthode

The can new.
public CanNew ( ) : bool
Résultat bool

GetDefault() public méthode

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

GetNew() public méthode

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

Handle() public méthode

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