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; }
|
|
|
|
|
2024-01-22 22:45:40 +03:00
|
|
|
Vector2D Position { get; set; }
|
|
|
|
Vector2D Scale { get; set; }
|
2023-11-23 22:07:49 +03:00
|
|
|
|
|
|
|
float Rotation { get; set; }
|
|
|
|
}
|