rhythmbullet/RhythmBullet/Zer01HD/Game/Screens/MainMenu/MainPage.cs

23 lines
634 B
C#
Raw Normal View History

2018-11-13 01:54:33 +00:00
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
2018-11-13 00:50:00 +00:00
using RhythmBullet.Zer01HD.UI.Book;
using RhythmBullet.Zer01HD.Utilities.ContentSystem;
namespace RhythmBullet.Zer01HD.Game.Screens.MainMenu
{
internal class MainPage : Page
{
2018-11-13 01:54:33 +00:00
Texture2D title;
2018-11-13 00:50:00 +00:00
internal MainPage(ContentSystem assets, GraphicsDevice graphicsDevice) : base(0, 0, graphicsDevice)
{
2018-11-13 01:54:33 +00:00
title = assets.Get<Texture2D>("title");
}
public override void Draw(SpriteBatch batch)
{
batch.Draw(title, title.Bounds, Color.White);
base.Draw(batch);
2018-11-13 00:50:00 +00:00
}
}
}