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:
@@ -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()
|
||||
Reference in New Issue
Block a user