public override void Draw(GameTime time) { if (IsLoaded) { foreach (DrawableGameComponent component in Components) { component.Draw(time); } GuiPanel.Draw(time); base.Draw(time); } }
public override void OnDraw(float elapsedTime) { Game.GraphicsDevice.Clear(Color.Black); _root.Draw(); }
public override void OnDraw(float elapsedTime) { base.OnDraw(elapsedTime); _panel.Draw(); }