Traveller/scripts/map/interfaces/IRoomHolder.cs

18 lines
434 B
C#
Raw Normal View History

2024-04-28 13:55:19 +00:00
namespace ColdMint.scripts.map.interfaces;
public interface IRoomHolder
{
bool AddRoom(IRoom room);
/// <summary>
/// <para>LastRoom</para>
/// <para>最后添加的房间</para>
/// </summary>
IRoom? LastRoom { get; }
2024-04-28 13:55:19 +00:00
/// <summary>
/// <para>Number of rooms that have been placed</para>
/// <para>已放置的房间数量</para>
/// </summary>
int PlacedRoomNumber { get; }
}