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

14 lines
131 B
GDScript3
Raw Normal View History

extends Node
class_name Edible
2024-04-14 23:23:06 +00:00
signal eaten
func eat():
eaten.emit()
get_parent().queue_free()
2024-04-13 22:23:33 +00:00
@export var tag: StringName