2024-05-20 14:38:41 +00:00
|
|
|
|
using ColdMint.scripts.map.room;
|
2024-05-19 12:29:32 +00:00
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
|
|
namespace ColdMint.scripts.map.dateBean;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Room placement information</para>
|
|
|
|
|
/// <para>房间放置信息</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class RoomPlacementData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>the location of placement</para>
|
|
|
|
|
/// <para>放置的位置</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Vector2? Position { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Place the room template</para>
|
|
|
|
|
/// <para>放置的房间模板</para>
|
|
|
|
|
/// </summary>
|
2024-05-20 14:38:41 +00:00
|
|
|
|
public Room? Room { get; set; }
|
2024-05-27 15:10:56 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Parent room slot</para>
|
|
|
|
|
/// <para>父级房间的插槽</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public RoomSlot? ParentRoomSlot { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>A slot for the new room</para>
|
|
|
|
|
/// <para>新房间的插槽</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public RoomSlot? NewRoomSlot { get; set; }
|
2024-05-19 12:29:32 +00:00
|
|
|
|
}
|