Syntriax.Engine/Engine.Core/Abstract/ITransform.cs

16 lines
358 B
C#
Raw Permalink Normal View History

2023-11-23 22:07:49 +03:00
using System;
namespace Syntriax.Engine.Core.Abstract;
public interface ITransform
{
Action<ITransform>? OnPositionChanged { get; set; }
Action<ITransform>? OnScaleChanged { get; set; }
Action<ITransform>? OnRotationChanged { get; set; }
Vector2D Position { get; set; }
Vector2D Scale { get; set; }
2023-11-23 22:07:49 +03:00
float Rotation { get; set; }
}