using System.Threading.Tasks; using ColdMint.scripts.map.dateBean; using ColdMint.scripts.map.RoomPlacer; using Godot; namespace ColdMint.scripts.map.interfaces; /// /// Room placer /// 房间放置器 /// /// ///Responsible for arranging the rooms on the map ///负责在地图中摆放房间 /// public interface IRoomPlacer { /// /// Place the room in the designated location /// 在指定的位置放置房间 /// /// /// /// public Task PlaceRoom(Vector2 position, IRoom room); /// /// Pass into two rooms and calculate the location of the new room /// 传入两个房间,计算新房间的位置 /// /// /// /// /// /// /// public Task CalculatedPosition(IRoom mainRoom, IRoom newRoom, RoomSlot? mainRoomSlot, RoomSlot? newRoomSlot, RoomPlacerConfig roomPlacerConfig); }