extends Node2D

export var nextChapter : String

# input event - runs when the input happens
func _input(event):
	if event is InputEventKey:
		if Input.is_action_pressed("ui_accept"):
			queue_free()
			get_tree().change_scene(nextChapter)
#			ChapterManager.gotoChapter(self, self.nextChapter)
