pir-serious-game-ethics/mini-game/scripts/bonus1.gd
2021-04-08 09:55:08 +02:00

12 lines
190 B
GDScript

extends "scroll_movement.gd"
func _physics_process(delta):
move()
func _on_pick_bonus_body_entered(body):
if body.name == "player2" :
Signals.emit_signal("gain",1)
queue_free()