modification de l'interface pour mieux modifier la vie affichée

This commit is contained in:
E213872U 2025-01-25 01:03:45 +01:00
parent af73f06da0
commit 303f40c3cc
10 changed files with 281 additions and 8 deletions

View file

@ -21,9 +21,10 @@ func _ready() -> void:
func _process(delta: float) -> void:
pass
func healing(pv : int) -> void :
for i in range(life , life+pv+1):
func set_life(pv : int) -> void :
for i in range(life, pv):
update_life(i)
update_life(pv)
func update_life (pv : int) -> void :
match pv :