forked from team-sg/hero-mark-2
21 lines
330 B
GDScript3
21 lines
330 B
GDScript3
extends Node2D
|
|
|
|
|
|
# Declare member variables here. Examples:
|
|
# var a = 2
|
|
# var b = "text"
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
get_tree().paused = true
|
|
$Body/Resume.grab_focus()
|
|
|
|
|
|
func _on_Resume_pressed():
|
|
get_tree().paused = false
|
|
queue_free()
|
|
|
|
|
|
func _on_Restart_pressed():
|
|
Game
|