Class NullAssetManager
Implements Null asset manager, used for testing
Inheritance
System.Object
EmptyKeys.UserInterface.AssetManager
NullAssetManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class NullAssetManager : AssetManager
Constructors
NullAssetManager()
Initializes a new instance of the NullAssetManager class.
Declaration
public NullAssetManager()
Methods
LoadEffect(Object, String)
Loads the effect.
Declaration
public override EffectBase LoadEffect(object contentManager, string file)
Parameters
Type | Name | Description |
---|---|---|
System.Object | contentManager | The content manager. |
System.String | file | The file. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Media.EffectBase |
Overrides
EmptyKeys.UserInterface.AssetManager.LoadEffect(System.Object, System.String)
Exceptions
Type | Condition |
---|---|
System.NotImplementedException |
LoadFont(Object, String)
Loads the font.
Declaration
public override FontBase LoadFont(object contentManager, string file)
Parameters
Type | Name | Description |
---|---|---|
System.Object | contentManager | The content manager. |
System.String | file | The file. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Media.FontBase |
Overrides
EmptyKeys.UserInterface.AssetManager.LoadFont(System.Object, System.String)
LoadSound(Object, String)
Loads the sound.
Declaration
public override SoundBase LoadSound(object contentManager, string file)
Parameters
Type | Name | Description |
---|---|---|
System.Object | contentManager | The content manager. |
System.String | file | The file. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Media.SoundBase |
Overrides
EmptyKeys.UserInterface.AssetManager.LoadSound(System.Object, System.String)
LoadTexture(Object, String)
Loads the texture.
Declaration
public override TextureBase LoadTexture(object contentManager, string file)
Parameters
Type | Name | Description |
---|---|---|
System.Object | contentManager | The content manager. |
System.String | file | The file. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Media.TextureBase |
Overrides
EmptyKeys.UserInterface.AssetManager.LoadTexture(System.Object, System.String)