Ejemplo n.º 1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     currentScreen.Draw(spriteBatch);
     if (IsTransitioning)
     {
         Image.Draw(spriteBatch);
     }
 }
Ejemplo n.º 2
0
 public void Draw(SpriteBatch spriteBatch)
 {
     currentScreen.Draw(spriteBatch);
     spriteBatch.Begin();
     if (IsTransitioning || IsFadeEffect)
     {
         Image.Draw(spriteBatch);
     }
     spriteBatch.End();
 }