2018-11-01 06:10:49 +00:00
|
|
|
|
using Microsoft.Xna.Framework;
|
|
|
|
|
using Microsoft.Xna.Framework.Graphics;
|
2018-11-02 02:20:46 +00:00
|
|
|
|
using RhythmBullet.Zer01HD.Game.Screens.Transitions;
|
2018-09-15 19:05:14 +00:00
|
|
|
|
using RhythmBullet.Zer01HD.UI;
|
2018-09-16 06:37:48 +00:00
|
|
|
|
using RhythmBullet.Zer01HD.Utilities.UI;
|
2018-09-15 19:05:14 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-11-01 04:58:26 +00:00
|
|
|
|
namespace RhythmBullet.Zer01HD.Game.Screens
|
2018-09-15 19:05:14 +00:00
|
|
|
|
{
|
|
|
|
|
class MainScreen : Screen
|
|
|
|
|
{
|
2018-11-02 02:20:46 +00:00
|
|
|
|
FadeInTransition fadeInTransition;
|
2018-11-01 06:10:49 +00:00
|
|
|
|
|
2018-11-02 02:20:46 +00:00
|
|
|
|
public MainScreen(GraphicsDevice graphicsDevice, Color transitionFromColor) : base(true)
|
2018-09-15 19:05:14 +00:00
|
|
|
|
{
|
2018-11-02 02:20:46 +00:00
|
|
|
|
fadeInTransition = new FadeInTransition(graphicsDevice, transitionFromColor, ScreenSize);
|
2018-09-15 19:05:14 +00:00
|
|
|
|
}
|
2018-11-01 06:10:49 +00:00
|
|
|
|
|
|
|
|
|
public override void EnteringTransition(double delta, bool assetsLoaded, ref Color backgroundColor)
|
|
|
|
|
{
|
2018-11-02 02:20:46 +00:00
|
|
|
|
fadeInTransition.Fade((float)delta);
|
2018-11-01 06:10:49 +00:00
|
|
|
|
base.EnteringTransition(delta, assetsLoaded, ref backgroundColor);
|
|
|
|
|
}
|
2018-09-15 19:05:14 +00:00
|
|
|
|
}
|
|
|
|
|
}
|