mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-04-28 07:45:34 +00:00
✨ Inventory, Weapons and refactoring
This commit is contained in:
parent
fa3e1f8d22
commit
39a9200e58
74 changed files with 1812 additions and 3895 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue