feat: ICamera2D
This commit is contained in:
parent
d66b119119
commit
35933dfd14
9
Game/Abstract/ICamera2D.cs
Normal file
9
Game/Abstract/ICamera2D.cs
Normal 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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user