using ColdMint.scripts.map.interfaces; using Godot; namespace ColdMint.scripts.map.room; /// /// The room template factory is used to generate room templates /// 房间模板工厂用于生成房间模板 /// public static class RoomFactory { /// /// CreateRoom /// 创建房间模板 /// /// /// public static IRoom CreateRoom(string resPath) { var room = new Room { RoomScene = GD.Load(resPath) }; return room; } }