Traveller/scripts/map/roomPlacer/RoomPlacerTemplate.cs

14 lines
473 B
C#
Raw Normal View History

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);
public abstract Task<Vector2> CalculatedPosition(IRoom mainRoom, IRoom newRoom, RoomSlot? mainRoomSlot, RoomSlot? newRoomSlot,
2024-04-28 13:55:19 +00:00
RoomPlacerConfig roomPlacerConfig);
}