Syntriax.Engine/Engine.Core/Abstract/ISprite.cs

14 lines
292 B
C#
Raw Normal View History

2023-11-23 22:07:49 +03:00
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Syntriax.Engine.Core.Abstract;
// TODO Probably gonna have to rethink this
public interface ISprite
{
Action<ISprite>? OnTextureChanged { get; set; }
Texture2D Texture2D { get; set; }
}