game: add godot project
This commit is contained in:
7
scenes/managers/player_ui.gd
Normal file
7
scenes/managers/player_ui.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
class_name PlayerUI
|
||||
extends Control
|
||||
|
||||
@onready var hp_bar: ProgressBar = $CenterContainer/ProgressBar
|
||||
|
||||
func set_hp(value: float):
|
||||
hp_bar.value = value
|
Reference in New Issue
Block a user