feat: More Control Over Displayables
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Core.Abstract;
|
||||
|
||||
namespace Syntriax.Engine.Graphics.TwoDimensional.Abstract;
|
||||
public interface IDisplayableSprite : IDisplayable, IAssignableSprite
|
||||
{
|
||||
Action<IDisplayableSprite>? OnSpriteEffectsChanged { get; set; }
|
||||
Action<IDisplayableSprite>? OnOriginChanged { get; set; }
|
||||
Action<IDisplayableSprite>? OnColorChanged { get; set; }
|
||||
Action<IDisplayableSprite>? OnDepthChanged { get; set; }
|
||||
|
||||
SpriteEffects SpriteEffects { get; set; }
|
||||
Vector2 Origin { get; set; }
|
||||
Color Color { get; set; }
|
||||
float Depth { get; set; }
|
||||
}
|
Reference in New Issue
Block a user