C# Class Protogame.UserInterfaceAssetLoader

Inheritance: IAssetLoader
Mostra file Open project: RedpointGames/Protogame

Public Methods

Method Description
CanHandle ( IRawAsset data ) : bool
CanNew ( ) : bool
GetDefault ( IAssetManager assetManager, string name ) : IAsset
GetNew ( IAssetManager assetManager, string name ) : IAsset
Handle ( IAssetManager assetManager, string name, IRawAsset data ) : IAsset

Method Details

CanHandle() public method

public CanHandle ( IRawAsset data ) : bool
data IRawAsset
return bool

CanNew() public method

public CanNew ( ) : bool
return bool

GetDefault() public method

public GetDefault ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager
name string
return IAsset

GetNew() public method

public GetNew ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager
name string
return IAsset

Handle() public method

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