You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
315 B
GDScript

extends "res://events/moved/Moved.gd"
# Event Handler for Character Moving
func _arrived(character): # at next
var next = character.get_next()
return next && character.reached_next()
func _reached(character): # at current dot
var cd = character.get_current_dot()
return cd && character.reached_current_dot()