C# Class EmptyKeys.UserInterface.AssetManager

Implements abstract Asset manager
Datei anzeigen Open project: EmptyKeys/UI_Engines

Public Methods

Method Description
AssetManager ( ) : EmptyKeys.UserInterface.Media

Initializes a new instance of the AssetManager class.

LoadEffect ( object contentManager, string file ) : EffectBase

Loads the effect.

LoadFont ( object contentManager, string file ) : FontBase

Loads the font.

LoadSound ( object contentManager, string file ) : SoundBase

Loads the sound.

LoadTexture ( object contentManager, string file ) : TextureBase

Loads the texture.

Method Details

AssetManager() public method

Initializes a new instance of the AssetManager class.
public AssetManager ( ) : EmptyKeys.UserInterface.Media
return EmptyKeys.UserInterface.Media

LoadEffect() public abstract method

Loads the effect.
public abstract LoadEffect ( object contentManager, string file ) : EffectBase
contentManager object The content manager.
file string The file.
return EmptyKeys.UserInterface.Media.EffectBase

LoadFont() public abstract method

Loads the font.
public abstract LoadFont ( object contentManager, string file ) : FontBase
contentManager object The content manager.
file string The file.
return EmptyKeys.UserInterface.Media.FontBase

LoadSound() public abstract method

Loads the sound.
public abstract LoadSound ( object contentManager, string file ) : SoundBase
contentManager object The content manager.
file string The file.
return SoundBase

LoadTexture() public abstract method

Loads the texture.
public abstract LoadTexture ( object contentManager, string file ) : TextureBase
contentManager object The content manager.
file string The file.
return EmptyKeys.UserInterface.Media.TextureBase