1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 16:01:53 +08:00

feat: 重构World工具,添加WorldManager类,更新波次生成逻辑,增强敌人管理功能

This commit is contained in:
2025-08-26 17:38:45 +08:00
parent 9a10e87cb0
commit 96b26f01be
5 changed files with 13 additions and 7 deletions
+12
View File
@@ -0,0 +1,12 @@
extends Node2D
class_name WorldManager
static var rootNode: Node2D
static var tree: SceneTree
func _ready():
tree = get_tree()
rootNode = self
func _physics_process(_delta):
if EntityBase.mobCount() == 0:
Wave.next()