handle modules larger than 1x1, widen door size to allow walking around it

This commit is contained in:
2022-11-24 19:32:51 +01:00
parent 74fd757d20
commit 2eec53fe87
11 changed files with 649 additions and 43 deletions

View File

@@ -0,0 +1,17 @@
namespace EscapeRoomEngine.Engine.Runtime.Utilities
{
public struct Range
{
public int min, max;
public int Length => max - min;
public Range(int min, int max)
{
this.min = min;
this.max = max;
}
public override string ToString() => $"{{{min}, ..., {max}}}";
}
}