feat: 添加升级面板到arena,添加全局事件监听升级选择

This commit is contained in:
luke358
2026-05-21 16:32:12 +08:00
parent 1796d9e47d
commit 1cf4eeecc6
9 changed files with 46 additions and 9 deletions
+5
View File
@@ -96,6 +96,11 @@ func can_dash() -> bool:
func is_facing_right() -> bool:
return visuals.scale.x == -0.5
func update_player_new_weave() -> void:
stats.health += stats.health_increase_per_wave
health_component.setup(stats)
func _on_dash_timer_timeout() -> void:
is_dashing = false
visuals.modulate.a = 1.0