Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / room / Dungeon.cs
@小李xl 小李xl on 22 Feb 2024 362 bytes 小修改

using Godot;

/// <summary>
/// 地牢类
/// </summary>
public partial class Dungeon : World
{
    public override void _Ready()
    {
        base._Ready();
        Color = Colors.Black;
    }

    /// <summary>
    /// 初始化 TileMap 中的层级
    /// </summary>
    public void InitLayer()
    {
        MapLayerManager.InitMapLayer(TileRoot);
    }
}