using System.Threading.Tasks; using ColdMint.scripts.levelGraphEditor; namespace ColdMint.scripts.map.LayoutParsingStrategy; /// /// Layout parsing strategy /// 布局图解析策略 /// public interface ILayoutParsingStrategy { /// /// Sets the layout diagram to parse /// 设置要解析的布局图 /// /// public void SetLevelGraph(LevelGraphEditorSaveData levelGraphEditorSaveData); /// /// Gets data for the start room node /// 获取起始房间节点的数据 /// /// public Task GetStartRoomNodeData(); /// /// 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(); }