Traveller/scripts/map/interfaces/IRoom.cs

31 lines
759 B
C#
Raw Normal View History

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>
PackedScene? RoomScene { get; set; }
2024-04-28 13:55:19 +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>
Node2D? RootNode { get; }
2024-04-28 13:55:19 +00:00
/// <summary>
/// <para>The room holds the corresponding slot data</para>
/// <para>房间持有对应的插槽数据</para>
/// </summary>
RoomSlot?[]? RoomSlots { get; }
2024-04-28 13:55:19 +00:00
}