aboutsummaryrefslogtreecommitdiff
path: root/scripts/debug.gd
blob: 339eec7f9a345e58963e1d7e02006dab3b0ada3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
extends Panel

var _player
var _path
var _enemies

func _ready():
	_path = get_tree().root.get_child(0).find_node("path")
	_player = get_tree().root.get_child(0).find_node("player")
	_enemies = get_tree().root.get_child(0).find_node("enemies")

func _process(delta):
	pass


func _on_Button_button_down():
	_enemies.spawn()


func _on_Button2_button_down():
	var res = _path.load_nodes()
	_path.hide()