cleanup, and began working on main screen.

This commit is contained in:
Harrison Deng 2018-11-01 01:10:49 -05:00
parent 353843476a
commit 1879bb0e4c
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,5 @@
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using RhythmBullet.Zer01HD.UI;
using RhythmBullet.Zer01HD.Utilities.UI;
using System;
@ -11,9 +12,15 @@ namespace RhythmBullet.Zer01HD.Game.Screens
{
class MainScreen : Screen
{
public MainScreen()
public MainScreen() : base(true)
{
}
public override void EnteringTransition(double delta, bool assetsLoaded, ref Color backgroundColor)
{
base.EnteringTransition(delta, assetsLoaded, ref backgroundColor);
}
}
}

View File

@ -12,6 +12,11 @@ namespace RhythmBullet.Zer01HD.Utilities.UI
public class Screen
{
public virtual Vector2 ScreenSize
{
get; set;
}
ScreenState state;
public Screen(bool useEnterTransition = false)
@ -71,5 +76,6 @@ namespace RhythmBullet.Zer01HD.Utilities.UI
{
state = ScreenState.ExitTransition;
}
}
}