1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 01:24:23 +00:00
hella-farm/behaviours/edible.gd

13 lines
131 B
GDScript

extends Node
class_name Edible
signal eaten
func eat():
eaten.emit()
get_parent().queue_free()
@export var tag: StringName