C# Class EmptyKeys.UserInterface.MonoGameAssetManager

Implements MonoGame specific asset manager
Inheritance: AssetManager
ファイルを表示 Open project: EmptyKeys/UI_Engines

Public Methods

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

MonoGameAssetManager ( ) : System

Initializes a new instance of the MonoGameAssetManager class.

Method Details

LoadEffect() public method

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

LoadFont() public method

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

LoadSound() public method

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

LoadTexture() public method

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

MonoGameAssetManager() public method

Initializes a new instance of the MonoGameAssetManager class.
public MonoGameAssetManager ( ) : System
return System