Exemple #1
0
        protected void DrawTransition(SpriteBatch spriteBatch)
        {
            var currentTarget = currentScreen.Draw(spriteBatch);
            var nextTarget    = transitionToScreen.Draw(spriteBatch);

            transition.Draw(transitionRenderTarget, spriteBatch, currentTarget, nextTarget);
            transitionRenderTarget.RenderToForeground(spriteBatch);
        }