2024-05-08 10:22:04 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2024-04-28 13:55:19 +00:00
|
|
|
|
using ColdMint.scripts.map.dateBean;
|
|
|
|
|
using ColdMint.scripts.map.interfaces;
|
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
|
|
namespace ColdMint.scripts.map.RoomPlacer;
|
|
|
|
|
|
|
|
|
|
public abstract class RoomPlacerTemplate : IRoomPlacer
|
|
|
|
|
{
|
|
|
|
|
public abstract Task<bool> PlaceRoom(Vector2 position, IRoom room);
|
|
|
|
|
|
2024-05-08 10:22:04 +00:00
|
|
|
|
public abstract Task<Vector2> CalculatedPosition(IRoom mainRoom, IRoom newRoom, RoomSlot? mainRoomSlot, RoomSlot? newRoomSlot,
|
2024-04-28 13:55:19 +00:00
|
|
|
|
RoomPlacerConfig roomPlacerConfig);
|
|
|
|
|
}
|