Editor/Cabinet/ArchPlanCabinets.cs
namespace Sunless.Architecture;

public static class ArchPlanCabinets {
	public static ArchCabinetPart FindCabinet( this ArchPlan plan, int id, ArchKinds table = null ) =>
		plan.Find<ArchCabinetPart>( id, table );

	public static ArchRoom RoomStanding( this ArchPlan plan, ArchCabinetPart part, ArchKinds table = null ) =>
		plan.HostOf<ArchRoom>( part, table );
}