summaryrefslogtreecommitdiff
path: root/demos/2d/kinematic_char/colworld.gd
blob: 7926ef9d54b45d6e26a6350391726cef854ec217 (plain)
1
2
3
4
5
6
7
8

extends Node2D


func _on_princess_body_enter(body):
	# The name of this editor-generated callback is unfortunate
	if (body.get_name() == "player"):
		get_node("youwin").show()