Inventory, Weapons and refactoring

This commit is contained in:
anyreso 2024-05-07 14:21:10 +00:00
parent fa3e1f8d22
commit 39a9200e58
74 changed files with 1812 additions and 3895 deletions

View file

@ -31,14 +31,14 @@ func _ready() -> void:
func _update_energy_bar(energy : float) -> void:
_energy_bar.value = energy
func _on_energy_changed(new_energy : float) -> void:
_update_energy_bar(new_energy)
func _update_health_bar(health : float) -> void:
_health_bar.value = health
func _on_health_changed(new_health : float) -> void:
_update_health_bar(new_health)
func _on_player_energy_changed(new_energy : float) -> void:
_update_energy_bar(new_energy)
"
[sub_resource type="GDScript" id="GDScript_w8l21"]