27 lines
578 B
C#
27 lines
578 B
C#
using Microsoft.Xna.Framework.Graphics;
|
|
using RhythmBullet.Zer01HD.UI.Modular;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RhythmBullet.Zer01HD.Utilities.UI.Modular.Modules
|
|
{
|
|
class Image : UIModule
|
|
{
|
|
Texture2D texture;
|
|
|
|
public Image(Texture2D texture)
|
|
{
|
|
this.texture = texture;
|
|
}
|
|
|
|
public override void Draw(SpriteBatch batch)
|
|
{
|
|
batch.Draw(texture, Bounds, Color);
|
|
base.Draw(batch);
|
|
}
|
|
}
|
|
}
|