removed unused imports and applied minor changes from RA.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using RecrownedAthenaeum.UI.Book;
|
||||
using RecrownedAthenaeum.ContentSystem;
|
||||
using RecrownedAthenaeum.UI.Modular.Modules;
|
||||
|
@@ -1,14 +1,10 @@
|
||||
|
||||
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using RecrownedAthenaeum.Screens.Transitions;
|
||||
using RecrownedAthenaeum.UI.Book;
|
||||
using RecrownedAthenaeum.Camera;
|
||||
using RecrownedAthenaeum.ContentSystem;
|
||||
using RecrownedAthenaeum.ScreenSystem;
|
||||
using System;
|
||||
|
||||
namespace RecrownedAthenaeum.Screens.MainMenu
|
||||
{
|
||||
@@ -30,10 +26,10 @@ namespace RecrownedAthenaeum.Screens.MainMenu
|
||||
book.AddPages(mainPage);
|
||||
}
|
||||
|
||||
public override void Initiate(GraphicsDevice graphicsDevice, Rectangle screenSize, Camera2D camera)
|
||||
public override void Initiate(Rectangle screenSize, Camera2D camera)
|
||||
{
|
||||
book.Initiate(camera, screenSize);
|
||||
base.Initiate(graphicsDevice, screenSize, camera);
|
||||
base.Initiate(screenSize, camera);
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
|
@@ -1,13 +1,7 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using RecrownedAthenaeum.UI;
|
||||
using RecrownedAthenaeum.ScreenSystem;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.Screens.Transitions
|
||||
{
|
||||
@@ -74,12 +68,12 @@ namespace RecrownedAthenaeum.Screens.Transitions
|
||||
curtain.Dispose();
|
||||
}
|
||||
|
||||
public bool EnteringTransition(double delta, bool assetsLoaded)
|
||||
public bool UpdateEnteringTransition(double delta, bool assetsLoaded)
|
||||
{
|
||||
return Fade((float)delta);
|
||||
}
|
||||
|
||||
public bool ExitingTransition(double delta, bool assetsLoaded)
|
||||
public bool UpdateExitingTransition(double delta, bool assetsLoaded)
|
||||
{
|
||||
return Fade((float)delta);
|
||||
}
|
||||
|
Reference in New Issue
Block a user