5 lines
93 B
GDScript
5 lines
93 B
GDScript
extends Area2D
|
|
|
|
func _on_body_entered(body):
|
|
if body is NPCShip:
|
|
body.switchdestination()
|