Example #1
0
 internal void Draw(SpriteBatch spriteBatch)
 {
     graphicsDevice.Clear(currentScene.BackgroundColor);
     if (useLoadingScreen && loadingScreen != null)
     {
         isLoading = true;
         loadingScreen.Draw(spriteBatch);
     }
     else
     {
         currentScene.Draw(spriteBatch);
     }
 }