Editor/Stair/ArchStairWellEdges.cs

An editor-side implementation of IArchWellEdges that returns a trimming function for stair wells by delegating to ArchStairShape.Trimmed. It forwards building, kit, well cutouts and height to produce a Func<Vector2,bool> used for trimming edges.

namespace Sunless.Architecture;

public sealed class ArchStairWellEdges : IArchWellEdges
{
	public Func<Vector2, bool> Trimmed( ArchBuilding building, ArchKit kit, IReadOnlyList<ArchFloorCutout> wells, float height )
	{
		return ArchStairShape.Trimmed( building, kit, wells, height );
	}
}