Missiles unlockable
This commit is contained in:
parent
2e1bcbc225
commit
0f3f6f0133
12 changed files with 82 additions and 3 deletions
|
@ -6,6 +6,10 @@ onready var label = $Label
|
|||
|
||||
func _ready():
|
||||
PlayerStats.connect("player_missiles_changed", self, "_on_player_missiles_changed")
|
||||
PlayerStats.connect("player_missiles_unlocked", self, "_on_player_missiles_unlocked")
|
||||
|
||||
func _on_player_missiles_changed(value):
|
||||
label.text = str(value)
|
||||
|
||||
func _on_player_missiles_unlocked(value):
|
||||
visible = value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue