Traveller/scripts/map/dateBean/RoomPlacementData.cs

41 lines
1.0 KiB
C#
Raw Normal View History

using ColdMint.scripts.map.room;
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
/// <summary>
/// <para>Place the room template</para>
/// <para>放置的房间模板</para>
/// </summary>
public Room? Room { get; set; }
2024-07-19 13:12:53 +00:00
/// <summary>
/// <para>Parent room</para>
/// <para>父级房间</para>
/// </summary>
public Room? ParentRoom { get; set; }
/// <summary>
/// <para>Parent room slot</para>
/// <para>父级房间的插槽</para>
/// </summary>
public RoomSlot? ParentRoomSlot { get; set; }
2024-07-19 13:12:53 +00:00
/// <summary>
/// <para>A slot for the new room</para>
/// <para>新房间的插槽</para>
/// </summary>
public RoomSlot? NewRoomSlot { get; set; }
}