Engine-Pong/Game/Abstract/ICamera2D.cs

10 lines
260 B
C#
Raw Normal View History

2024-01-31 18:43:17 +03:00
namespace Syntriax.Engine.Core.Abstract;
public interface ICamera2D : IBehaviour, IAssignableTransform
{
float Zoom { get; set; }
Vector2D ScreenToWorldPosition(Vector2D screenPosition);
Vector2D WorldToScreenPosition(Vector2D screenPosition);
}