/// <inheritdoc/> public override void Draw(GameTime gameTime) { if (Visible) { EnsureInitialized(); _console.Draw(); } }
/// <summary> /// This is called when the game should draw itself. /// </summary> /// <param name="gameTime"> /// Provides a snapshot of timing values. /// </param> protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); this.spriteBatch.Begin(); Console.Draw(this.spriteBatch); this.spriteBatch.End(); base.Draw(gameTime); }