Files
SemesterGameJam2022/scripts/Logic/StraightMapNode.gd
2022-12-10 08:53:58 +01:00

10 lines
173 B
GDScript

extends MapNode
class_name StraightMapNode
@export var next : MapNode
func _on_train_exit(train):
next._on_train_entered(train)
super._on_train_exit(train)
return next