Chaos_Kitchen/Scripts/Shelf.gd

19 lines
415 B
GDScript3
Raw Permalink Normal View History

extends ItemProcessor
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_body_entered(body : Player):
body.can_interact.emit(self)
func _on_body_exited(body: Player):
body.remove_interact.emit() # Replace with function body.