using System.Threading.Tasks; namespace ColdMint.scripts.map.interfaces; public interface IMapGenerator { /// /// Setting the timeout period /// 设置超时时间 /// /// ///Causes the engine to terminate generation after a certain amount of time.(Unit: second) ///使引擎超过一定时间后终止生成。(单位:秒) /// public int TimeOutPeriod { get; set; } public IRoomSlotsMatcher RoomSlotsMatcher { get; set; } public IRoomHolder RoomHolder { get; set; } public IRoomPlacer RoomPlacer { get; set; } public IRoomProvider RoomProvider { get; set; } Task Generate(IMapGeneratorConfig mapGeneratorConfig); }