public ConsoleRenderer(GraphicsDevice graphicsDevice, IConsoleTextEngine textEngine, ITextureBuilder textureBuilder = null) { this.graphicsDevice = graphicsDevice; this.textEngine = textEngine; textureBuilder = textureBuilder ?? new TextureBuilder(graphicsDevice); spriteBatch = new SpriteBatch(graphicsDevice); whiteTexture = textureBuilder.SolidColor(10, 10, Color.White); ResizeRenderTarget(); //console.KeyProcessed += (sender, e) => { timeOffset = CurrentTime; }; }
public TestSelectorIndicator(ITextureBuilder textureBuilder) { texture = textureBuilder.SolidColor(10, 10, Color.White); }