Exemple #1
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     currentScreen.Draw(spriteBatch);
     if (transition)
     {
         fade.Draw(spriteBatch);
     }
 }
Exemple #2
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     //spriteBatch.DrawString(font, "Project PitFall", new Vector2(100, 100), Color.Black);
     //spriteBatch.Draw(startScreen, new Rectangle(0, 0, GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width, GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height), Color.White);
     fade.Draw(spriteBatch);
 }