Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / room / Dungeon.cs
@王晗智 王晗智 on 9 Mar 2024 318 bytes 7
  1.  
  2. using Godot;
  3.  
  4. /// <summary>
  5. /// 地牢类
  6. /// </summary>
  7. public partial class Dungeon : World
  8. {
  9. public override void _Ready()
  10. {
  11. base._Ready();
  12. Color = Colors.Black;
  13. }
  14.  
  15. /// <summary>
  16. /// 初始化 TileMap 中的层级
  17. /// </summary>
  18. public void InitLayer()
  19. {
  20. MapLayerManager.InitMapLayer(TileRoot);
  21. }
  22. }