public TextureManager( IContentManagerAdapter contentManager ) { this._contentManager = contentManager; this._textureInPoint = new Dictionary<TextureType, TextureDeclaration>(); // TODO Here is something wrong this._textureInPoint.Add( TextureType.LeftArrow, TextureDeclaration.Create( "arrows", 0.0f, 0.0f, 0.25f, 1.0f ) ); this._textureInPoint.Add( TextureType.DownArrow, TextureDeclaration.Create( "arrows", 0.25f, 0.0f, 0.5f, 1.0f ) ); this._textureInPoint.Add( TextureType.RightArrow, TextureDeclaration.Create( "arrows", 0.5f, 0.0f, 0.75f, 1.0f ) ); this._textureInPoint.Add( TextureType.UpArrow, TextureDeclaration.Create( "arrows", 0.75f, 0.0f, 1.0f, 1.0f ) ); }
public DeserializationContext( ILifetimeScope ioc, IContentManagerAdapter contentManager ) { this._ioc = ioc; this._contentManager = contentManager; }