Fronter/UpgradeMenu.gd

33 lines
592 B
GDScript3
Raw Normal View History

extends Node
signal refund
signal speed_upgrade
signal bullet_delay_upgrade
signal add_laser
signal plasma_lasers
# class member variables go here, for example:
# var a = 2
# var b = "textvar"
func _ready():
# Called every time the node is added to the scene.
# Initialization here
pass
#func _process(delta):
# # Called every frame. Delta is time since last frame.
# # Update game logic here.
# pass
func _on_Button_pressed():
get_tree().paused = false
queue_free()
func _on_Refund_pressed():
get_tree().paused = false
emit_signal("refund")
pass # replace with function body