feat: 添加升级面板到arena,添加全局事件监听升级选择
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user