C# Class AIA.AssetManager

Show file Open project: ArtificialIntelligenceApproximations/AIA Class Usage Examples

Public Methods

Method Description
addTexture ( Microsoft.Xna.Framework.Graphics.Texture2D p_Tex, String p_sName ) : void
getInstance ( ) : AssetManager
getTexture ( String p_sName ) : Microsoft.Xna.Framework.Graphics.Texture2D

Private Methods

Method Description
AssetManager ( ) : System

Method Details

addTexture() public method

public addTexture ( Microsoft.Xna.Framework.Graphics.Texture2D p_Tex, String p_sName ) : void
p_Tex Microsoft.Xna.Framework.Graphics.Texture2D
p_sName String
return void

getInstance() public static method

public static getInstance ( ) : AssetManager
return AssetManager

getTexture() public method

public getTexture ( String p_sName ) : Microsoft.Xna.Framework.Graphics.Texture2D
p_sName String
return Microsoft.Xna.Framework.Graphics.Texture2D