improve room generation

This commit is contained in:
2022-11-01 18:02:00 +01:00
parent 484244c249
commit bce88d0504
8 changed files with 63 additions and 40 deletions

View File

@@ -0,0 +1,20 @@
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})";
}
}