mirror of
https://github.com/Phantop/LADXHD.git
synced 2024-11-01 04:14:22 +00:00
18 lines
571 B
C#
18 lines
571 B
C#
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
|
|
namespace ProjectZ.InGame.Interface
|
|
{
|
|
public class InterfaceCanvas : InterfaceElement
|
|
{
|
|
public InterfaceElement InsideElement;
|
|
|
|
public override void Draw(SpriteBatch spriteBatch, Vector2 drawPosition, float scale, float transparency)
|
|
{
|
|
base.Draw(spriteBatch, drawPosition, scale, transparency);
|
|
|
|
// draw the embedded element
|
|
InsideElement?.Draw(spriteBatch, drawPosition, scale, transparency);
|
|
}
|
|
}
|
|
} |