mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
12 lines
323 B
GDScript
12 lines
323 B
GDScript
extends VBoxContainer
|
|
|
|
func _ready():
|
|
var _game_stats = GameStats.connect("current_stage_changed", self, "update_info")
|
|
|
|
func update_info(stage):
|
|
$HBoxContainer/PlayButton.disabled = false
|
|
var Stage = load(stage)
|
|
stage = Stage.instance()
|
|
|
|
$ScoreLabel.text = stage.stage_name
|
|
$HBoxContainer/PlayButton.visible = true
|