2024-05-08 10:22:04 +00:00
|
|
|
|
using ColdMint.scripts.map.dateBean;
|
2024-04-28 13:55:19 +00:00
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
|
|
namespace ColdMint.scripts.map.interfaces;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>IRoom</para>
|
|
|
|
|
/// <para>表示房间</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IRoom
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Set room scene</para>
|
|
|
|
|
/// <para>设置房间场景</para>
|
|
|
|
|
/// </summary>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
PackedScene? RoomScene { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
2024-05-19 12:29:32 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Tile map</para>
|
|
|
|
|
/// <para>瓦片地图</para>
|
|
|
|
|
/// </summary>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
TileMap? TileMap { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Gets the root node of the room</para>
|
|
|
|
|
/// <para>获取房间的根节点</para>
|
|
|
|
|
/// </summary>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
Node2D? RootNode { get; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>The room holds the corresponding slot data</para>
|
|
|
|
|
/// <para>房间持有对应的插槽数据</para>
|
|
|
|
|
/// </summary>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
RoomSlot?[]? RoomSlots { get; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
}
|