mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
improved menu
This commit is contained in:
parent
2637008a33
commit
81bc9fa37f
59 changed files with 783 additions and 78 deletions
|
|
@ -1,6 +1,7 @@
|
|||
extends Node
|
||||
|
||||
signal balls_changed()
|
||||
signal current_stage_changed(scene)
|
||||
|
||||
var max_balls = 2
|
||||
var balls_left
|
||||
|
|
@ -37,3 +38,6 @@ func reset_board():
|
|||
pinks_left = 0
|
||||
level_won = false
|
||||
|
||||
func set_current_scene(stage):
|
||||
current_stage = stage
|
||||
emit_signal("current_stage_changed", current_stage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue