You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
385 B
GDScript
29 lines
385 B
GDScript
extends CanvasLayer
|
|
|
|
signal oneMoreCupcake()
|
|
signal fasterCupcake()
|
|
signal condensedCupcake1()
|
|
|
|
|
|
|
|
|
|
func _ready():
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_close_pressed():
|
|
self.visible = false
|
|
|
|
|
|
|
|
func _on_buy_pressed():
|
|
emit_signal("oneMoreCupcake")
|
|
|
|
|
|
func _on_buy_van2_pressed():
|
|
emit_signal("fasterCupcake")
|
|
|
|
|
|
func _on_buy_van3_pressed():
|
|
emit_signal("condensedCupcake1")
|