feat: ICamera2D

This commit is contained in:
Syntriax 2024-01-31 18:43:17 +03:00
parent d66b119119
commit 35933dfd14
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);
}