TODO update ui
parent
11e0430bcd
commit
1a7d55692a
|
@ -124,6 +124,7 @@ visible = false
|
|||
position = Vector2( 11, 2 )
|
||||
frames = ExtResource( 5 )
|
||||
animation = "idle"
|
||||
frame = 2
|
||||
playing = true
|
||||
|
||||
[node name="AudioGetDamage" type="AudioStreamPlayer" parent="."]
|
||||
|
|
|
@ -70,3 +70,10 @@ func select_card():
|
|||
$"UIWrapper/UI/Center/SpellHolder".add_modifier(spells[selected_modifier], selected_modifier)
|
||||
Global.playing = true
|
||||
$UIWrapper/UI/Cards.visible = false
|
||||
|
||||
func _process(delta):
|
||||
update_ui()
|
||||
|
||||
func update_ui():
|
||||
$"UIWrapper/UI/Right/CastTime/CastTimeLabel".text = String(0)
|
||||
$"UIWrapper/UI/Right/Damage/DamageLabel".text = String(0)
|
||||
|
|
Loading…
Reference in New Issue