Files
modular-vr/Assets/Escape Room Engine/Engine/Scripts/Dimensions.cs
2022-11-01 18:02:00 +01:00

20 lines
517 B
C#

namespace Escape_Room_Engine.Engine.Scripts
{
public readonly struct Dimensions
{
internal Dimensions(float width, float length, float x, float y)
{
Width = width;
Length = length;
X = x;
Y = y;
}
public float Width { get; }
public float Length { get; }
public float X { get; }
public float Y { get; }
public override string ToString() => $"({Width}, {Length}) at ({X}, {Y})";
}
}