rhythmbullet/RhythmBullet/Zer01HD/Utilities/UI/LoadingScreen.cs

31 lines
799 B
C#
Raw Normal View History

2018-09-15 19:05:14 +00:00
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using RhythmBullet.Zer01HD.UI;
using RhythmBullet.Zer01HD.Utilities.UI;
2018-09-15 19:05:14 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RhythmBullet.Zer01HD.Game
{
class LoadingScreen : Screen
{
Texture2D recrown;
2018-10-31 00:47:01 +00:00
Rectangle rectangleBounds;
public LoadingScreen(Texture2D recrown, Rectangle bounds)
2018-09-15 19:05:14 +00:00
{
this.recrown = recrown;
2018-10-31 00:47:01 +00:00
this.rectangleBounds = bounds;
2018-09-15 19:05:14 +00:00
}
public override void Draw(SpriteBatch spriteBatch)
{
2018-10-31 00:47:01 +00:00
spriteBatch.Draw(recrown, rectangleBounds, Color.White);
2018-09-15 19:05:14 +00:00
base.Draw(spriteBatch);
}
}
}