Engine-Pong/Game/Graphics/Abstract/ISprite.cs

14 lines
262 B
C#
Raw Permalink Normal View History

2024-01-23 12:15:24 +03:00
using System;
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; }
}