2018-11-01 01:10:49 -05:00
|
|
|
|
using Microsoft.Xna.Framework;
|
|
|
|
|
using Microsoft.Xna.Framework.Graphics;
|
2018-11-01 21:20:46 -05:00
|
|
|
|
using RhythmBullet.Zer01HD.Game.Screens.Transitions;
|
2018-09-15 14:05:14 -05:00
|
|
|
|
using RhythmBullet.Zer01HD.UI;
|
2018-11-01 22:02:25 -05:00
|
|
|
|
using RhythmBullet.Zer01HD.Utilities.ContentSystem;
|
2018-09-16 01:37:48 -05:00
|
|
|
|
using RhythmBullet.Zer01HD.Utilities.UI;
|
2018-11-04 00:01:17 -05:00
|
|
|
|
using RhythmBullet.Zer01HD.Utilities.UI.ScreenSystem;
|
2018-09-15 14:05:14 -05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2018-11-04 00:01:17 -05:00
|
|
|
|
using System.Diagnostics;
|
2018-09-15 14:05:14 -05:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-10-31 23:58:26 -05:00
|
|
|
|
namespace RhythmBullet.Zer01HD.Game.Screens
|
2018-09-15 14:05:14 -05:00
|
|
|
|
{
|
|
|
|
|
class MainScreen : Screen
|
|
|
|
|
{
|
2018-11-01 22:02:25 -05:00
|
|
|
|
Texture2D background;
|
2018-11-01 01:10:49 -05:00
|
|
|
|
|
2018-11-04 00:01:17 -05:00
|
|
|
|
public MainScreen(GraphicsDevice graphicsDevice, ContentSystem assets) : base(true)
|
2018-09-15 14:05:14 -05:00
|
|
|
|
{
|
2018-11-04 00:01:17 -05:00
|
|
|
|
FadeAwayTransition fadeAwayTransition = new FadeAwayTransition();
|
|
|
|
|
Transitions.Add(fadeAwayTransition);
|
|
|
|
|
graphicsDevice.Clear(Color.White);
|
2018-11-01 22:02:25 -05:00
|
|
|
|
background = assets.Get<Texture2D>("backgrounds/mainBG");
|
2018-11-04 00:01:17 -05:00
|
|
|
|
}
|
2018-11-01 22:02:25 -05:00
|
|
|
|
|
|
|
|
|
public override void Show()
|
|
|
|
|
{
|
|
|
|
|
base.Show();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Draw(SpriteBatch spriteBatch)
|
|
|
|
|
{
|
|
|
|
|
spriteBatch.Draw(background, ScreenSize, Color.White);
|
|
|
|
|
base.Draw(spriteBatch);
|
2018-09-15 14:05:14 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|