1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat(游戏模式): 添加游戏模式选择功能并优化UI状态管理

实现游戏模式选择功能,包括无尽波次、Boss Rush和割草模式
添加游戏模式与波次数据的映射关系
优化UI状态管理,新增selectingFeed状态控制UI元素显示
重构Starter面板布局,添加游戏模式选项
为EnergyBlock添加掉落物品配置
This commit is contained in:
2026-05-03 16:03:02 +08:00
parent be151c5317
commit 2a602b0be2
10 changed files with 119 additions and 71 deletions
-1
View File
@@ -136,7 +136,6 @@ func _ready():
for i in weaponStore.get_children():
i.free()
weaponStore.add_child(ComponentManager.getWeapon("PurpleCrystal").instantiate())
weaponStore.add_child(MathTool.randomChoiceFrom(ComponentManager.weapons.values()).instantiate())
for i in weaponStore.get_children():
i.hide()
weapons.append(i)