Traveller/scripts/map/events/MapGenerationCompleteEvent.cs
Cold-Mint 1e019339d8
After the map is generated, tiles will be copied from the Barrier layer when unused slots appear. Plug the slot.
生成地图后,当出现尚未使用的插槽,将会从Barrier层拷贝瓦片。堵上插槽。
2024-09-08 21:17:05 +08:00

27 lines
832 B
C#

using System.Collections.Generic;
using ColdMint.scripts.map.room;
using Godot;
namespace ColdMint.scripts.map.events;
/// <summary>
/// <para>Event when the map is created</para>
/// <para>地图创建完成的事件</para>
/// </summary>
public class MapGenerationCompleteEvent
{
/// <summary>
/// <para>Random number generator generated from seed</para>
/// <para>根据种子生成的随机数生成器</para>
/// </summary>
// ReSharper disable UnusedAutoPropertyAccessor.Global
public RandomNumberGenerator? RandomNumberGenerator { get; set; }
// ReSharper restore UnusedAutoPropertyAccessor.Global
/// <summary>
/// <para>All placed rooms</para>
/// <para>所有已放置的房间</para>
/// </summary>
public Dictionary<string, Room>? RoomDictionary { get; set; }
}