fossekleiva-ks-hackathon-demo/obstacles/pairs/pair.gd

13 lines
265 B
GDScript3
Raw Permalink Normal View History

2019-09-25 21:35:43 +02:00
extends Node2D
signal collide
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _collide(body):
emit_signal("collide")