Traveller/scripts/map/interfaces/IMapGeneratorConfig.cs
Cold-Mint 92659d23b0
Prepare to add forks to the map.
准备为地图添加分叉。
2024-05-10 22:56:27 +08:00

36 lines
880 B
C#

using Godot;
namespace ColdMint.scripts.map.interfaces;
/// <summary>
/// <para>IMapGeneratorConfig</para>
/// <para>房间生成器配置</para>
/// </summary>
public interface IMapGeneratorConfig
{
Node2D MapRoot { get; }
/// <summary>
/// <para>How many rooms do we need to generate</para>
/// <para>我们需要生成多少个房间</para>
/// </summary>
int RoomCount { get; }
/// <summary>
/// <para>The number of forks in this map</para>
/// <para>这个地图的分叉数量</para>
/// </summary>
int BranchCount { get; }
/// <summary>
/// <para>seed</para>
/// <para>种子</para>
/// </summary>
ulong Seed { get; }
/// <summary>
/// <para>RandomNumberGenerator</para>
/// <para>随机数生成器</para>
/// </summary>
RandomNumberGenerator RandomNumberGenerator { get; }
}