예제 #1
0
파일: Screen.cs 프로젝트: dhlevi/MonoFrame
        public override void Draw(GameTime time)
        {
            if (IsLoaded)
            {
                foreach (DrawableGameComponent component in Components)
                {
                    component.Draw(time);
                }

                GuiPanel.Draw(time);

                base.Draw(time);
            }
        }
예제 #2
0
 public override void OnDraw(float elapsedTime)
 {
     Game.GraphicsDevice.Clear(Color.Black);
     _root.Draw();
 }
예제 #3
0
 public override void OnDraw(float elapsedTime)
 {
     base.OnDraw(elapsedTime);
     _panel.Draw();
 }