feat: ICamera2D Interface

This commit is contained in:
Syntriax 2024-01-31 18:48:31 +03:00
parent 6c36d4d21d
commit a1f63d2728
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
namespace Syntriax.Engine.Core.Abstract;
public interface ICamera2D : IBehaviour, IAssignableTransform
{
float Zoom { get; set; }
Vector2D ScreenToWorldPosition(Vector2D screenPosition);
Vector2D WorldToScreenPosition(Vector2D screenPosition);
}