Exemplo n.º 1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.CornflowerBlue);

            Scenes.Draw(gameTime);

            base.Draw(gameTime);
        }
Exemplo n.º 2
0
 internal virtual void OnDraw(GameTime gameTime)
 {
     watch.Restart();
     GraphicsDevice.Clear(Color.CornflowerBlue);
     SpriteBatch.Begin();
     Scenes.Draw(gameTime);
     this.Draw(gameTime);
     FpsCounter.Draw(gameTime);
     SpriteBatch.End();
     watch.Stop();
     FpsCounter.FrameTime = watch.Elapsed;
     watch2.Restart();
 }
Exemplo n.º 3
0
 protected virtual void DrawCore(GameTime gameTime)
 {
     Scenes.Draw();
 }
Exemplo n.º 4
0
 public override void Draw(SpriteBatch spritebatch)
 {
     ActiveScene.Draw(spritebatch);
 }
Exemplo n.º 5
0
 public override void Draw()
 {
     Scenes.Draw();
 }