Traveller/scripts/map/dateBean/RoomPlacementData.cs
Cold-Mint ea319f032e
Resolved an issue where the room slots were not used but marked as matching when generating a map with multiple forks, resulting in no forks being generated.
解决生成多岔道的地图时,房间槽未使用但被标记为匹配,导致无法生成岔道的问题。
2024-05-27 23:10:56 +08:00

34 lines
907 B
C#

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; }
/// <summary>
/// <para>Place the room template</para>
/// <para>放置的房间模板</para>
/// </summary>
public Room? Room { get; set; }
/// <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; }
}