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; }
|
2024-07-19 13:12:53 +00:00
|
|
|
|
|
2024-05-19 12:29:32 +00:00
|
|
|
|
/// <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
|
|
|
|
|
2024-07-19 13:12:53 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Parent room</para>
|
|
|
|
|
/// <para>父级房间</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Room? ParentRoom { get; set; }
|
|
|
|
|
|
2024-05-27 15:10:56 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Parent room slot</para>
|
|
|
|
|
/// <para>父级房间的插槽</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public RoomSlot? ParentRoomSlot { get; set; }
|
2024-07-19 13:12:53 +00:00
|
|
|
|
|
2024-05-27 15:10:56 +00:00
|
|
|
|
/// <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
|
|
|
|
}
|