added basic image ui module
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework;
|
||||
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
|
||||
{
|
||||
Texture2D title;
|
||||
internal MainPage(ContentSystem assets, GraphicsDevice graphicsDevice) : base(0, 0, graphicsDevice)
|
||||
{
|
||||
assets.Get<Texture2D>("title");
|
||||
title = assets.Get<Texture2D>("title");
|
||||
}
|
||||
|
||||
public override void Draw(SpriteBatch batch)
|
||||
{
|
||||
batch.Draw(title, title.Bounds, Color.White);
|
||||
base.Draw(batch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user