using System.Threading.Tasks; using ColdMint.scripts.levelGraphEditor; namespace ColdMint.scripts.map; /// /// Layout parsing strategy /// 布局图解析策略 /// public interface ILayoutParsingStrategy { /// /// Sets the layout diagram to parse /// 设置要解析的布局图 /// /// public void SetLevelGraph(LevelGraphEditorSaveData levelGraphEditorSaveData); /// /// Gets the next room to place /// 获取下一个要放置的房间 /// /// public Task Next(); /// /// Gets the ID of the next parent node to place /// 获取下一个要放置的父节点ID /// /// public Task GetNextParentNodeId(); /// /// Is there another room that needs to be placed /// 是否还有下一个需要放置的房间 /// /// public Task HasNext(); }