diff --git a/RhythmBullet/RhythmBullet.csproj b/RhythmBullet/RhythmBullet.csproj
index df472e0..f8a24f7 100644
--- a/RhythmBullet/RhythmBullet.csproj
+++ b/RhythmBullet/RhythmBullet.csproj
@@ -47,6 +47,7 @@
true
+
@@ -57,7 +58,7 @@
-
+
diff --git a/RhythmBullet/RhythmBulletGame.cs b/RhythmBullet/RhythmBulletGame.cs
index 6610c17..f336aaf 100644
--- a/RhythmBullet/RhythmBulletGame.cs
+++ b/RhythmBullet/RhythmBulletGame.cs
@@ -3,7 +3,7 @@ using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using RhythmBullet.Zer01HD.Game.ContentResolvers;
using RhythmBullet.Zer01HD.Game.Preferences;
-using RhythmBullet.Zer01HD.Game.Screens;
+using RhythmBullet.Zer01HD.Game.Screens.MainMenu;
using RhythmBullet.Zer01HD.Utilities;
using RhythmBullet.Zer01HD.Utilities.Camera;
using RhythmBullet.Zer01HD.Utilities.ContentSystem;
diff --git a/RhythmBullet/Zer01HD/Game/Screens/MainMenu/MainPage.cs b/RhythmBullet/Zer01HD/Game/Screens/MainMenu/MainPage.cs
new file mode 100644
index 0000000..afdbe0a
--- /dev/null
+++ b/RhythmBullet/Zer01HD/Game/Screens/MainMenu/MainPage.cs
@@ -0,0 +1,19 @@
+using Microsoft.Xna.Framework.Graphics;
+using RhythmBullet.Zer01HD.UI.Book;
+using RhythmBullet.Zer01HD.Utilities.ContentSystem;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace RhythmBullet.Zer01HD.Game.Screens.MainMenu
+{
+ internal class MainPage : Page
+ {
+ internal MainPage(ContentSystem assets, GraphicsDevice graphicsDevice) : base(0, 0, graphicsDevice)
+ {
+ assets.Get("title");
+ }
+ }
+}
diff --git a/RhythmBullet/Zer01HD/Game/Screens/MainScreen.cs b/RhythmBullet/Zer01HD/Game/Screens/MainMenu/MainScreen.cs
similarity index 96%
rename from RhythmBullet/Zer01HD/Game/Screens/MainScreen.cs
rename to RhythmBullet/Zer01HD/Game/Screens/MainMenu/MainScreen.cs
index 319dcb4..780108a 100644
--- a/RhythmBullet/Zer01HD/Game/Screens/MainScreen.cs
+++ b/RhythmBullet/Zer01HD/Game/Screens/MainMenu/MainScreen.cs
@@ -13,7 +13,7 @@ using System.Text;
using System.Threading.Tasks;
using RhythmBullet.Zer01HD.UI.Book;
-namespace RhythmBullet.Zer01HD.Game.Screens
+namespace RhythmBullet.Zer01HD.Game.Screens.MainMenu
{
class MainScreen : Screen
{
diff --git a/RhythmBullet/Zer01HD/Utilities/UI/Book/Page.cs b/RhythmBullet/Zer01HD/Utilities/UI/Book/Page.cs
index 4d7a03a..d336957 100644
--- a/RhythmBullet/Zer01HD/Utilities/UI/Book/Page.cs
+++ b/RhythmBullet/Zer01HD/Utilities/UI/Book/Page.cs
@@ -12,12 +12,14 @@ namespace RhythmBullet.Zer01HD.UI.Book
class Page : UIModuleGroup
{
private readonly int pageX, pageY;
+ private GraphicsDevice graphicsDevice;
- public Page(int pageX, int pageY, int width, int height)
+ public Page(int pageX, int pageY, GraphicsDevice graphicsDevice)
{
+ this.graphicsDevice = graphicsDevice;
this.pageX = pageX;
this.pageY = pageY;
- ApplySize(width, height);
+ ApplySize(graphicsDevice.Viewport.Width, graphicsDevice.Viewport.Height);
}
public virtual void ApplySize(int width, int height)