public void Draw(SpriteBatch spriteBatch)
 {
     currentScreen.Draw(spriteBatch);
     if (IsTransitioning)
     {
         Image.Draw(spriteBatch);
     }
 }
Beispiel #2
0
 public void Draw(SpriteBatch spriteBatch)
 {
     currentScreen.Draw(spriteBatch);
     spriteBatch.Begin();
     if (IsTransitioning || IsFadeEffect)
     {
         Image.Draw(spriteBatch);
     }
     spriteBatch.End();
 }