cleanup, and began working on main screen.
This commit is contained in:
parent
353843476a
commit
1879bb0e4c
@ -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.UI;
|
||||||
using RhythmBullet.Zer01HD.Utilities.UI;
|
using RhythmBullet.Zer01HD.Utilities.UI;
|
||||||
using System;
|
using System;
|
||||||
@ -11,9 +12,15 @@ namespace RhythmBullet.Zer01HD.Game.Screens
|
|||||||
{
|
{
|
||||||
class MainScreen : Screen
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,11 @@ namespace RhythmBullet.Zer01HD.Utilities.UI
|
|||||||
|
|
||||||
public class Screen
|
public class Screen
|
||||||
{
|
{
|
||||||
|
public virtual Vector2 ScreenSize
|
||||||
|
{
|
||||||
|
get; set;
|
||||||
|
}
|
||||||
|
|
||||||
ScreenState state;
|
ScreenState state;
|
||||||
|
|
||||||
public Screen(bool useEnterTransition = false)
|
public Screen(bool useEnterTransition = false)
|
||||||
@ -71,5 +76,6 @@ namespace RhythmBullet.Zer01HD.Utilities.UI
|
|||||||
{
|
{
|
||||||
state = ScreenState.ExitTransition;
|
state = ScreenState.ExitTransition;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user