Files
modular-vr/Assets/Escape Room Engine/Engine/Scripts/SpaceSize.cs
2022-10-28 21:19:00 +02:00

18 lines
438 B
C#

namespace Escape_Room_Engine.Engine.Scripts
{
public readonly struct SpaceSize
{
internal SpaceSize(int width, int height)
{
Width = width;
Height = height;
}
// TODO: intersections and unions of rectangles
public int Width { get; }
public int Height { get; }
public override string ToString() => $"({Width}, {Height})";
}
}