1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15: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
+2
View File
@@ -139,3 +139,5 @@ static func generate(
if addToWorld:
WorldManager.rootNode.add_child(instance)
return instance
static func mobCount():
return len(WorldManager.tree.get_nodes_in_group("mobs"))