AIA.AssetManager.getTexture C# (CSharp) Method

getTexture() public method

public getTexture ( String p_sName ) : Microsoft.Xna.Framework.Graphics.Texture2D
p_sName String
return Microsoft.Xna.Framework.Graphics.Texture2D
        public Texture2D getTexture( String p_sName )
        {
            int i;

            for ( i = 0; i < _Textures.Count( ); i++ )
            {
                if ( _Textures.ElementAt( i ).Name == p_sName )
                {
                    return _Textures.ElementAt( i );
                }
            }

            return null;
        }