2018-05-23 01:40:45 -04:00
|
|
|
extends Node
|
|
|
|
|
2018-05-23 03:57:15 -04:00
|
|
|
signal refund
|
|
|
|
signal speed_upgrade
|
|
|
|
signal bullet_delay_upgrade
|
|
|
|
signal add_laser
|
|
|
|
signal plasma_lasers
|
|
|
|
|
2018-05-23 01:40:45 -04:00
|
|
|
# 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()
|
2018-05-23 03:57:15 -04:00
|
|
|
|
|
|
|
|
|
|
|
func _on_Refund_pressed():
|
|
|
|
get_tree().paused = false
|
|
|
|
emit_signal("refund")
|
|
|
|
pass # replace with function body
|