mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-25 09:34:24 +00:00
13 lines
131 B
GDScript
13 lines
131 B
GDScript
extends Node
|
|
class_name Edible
|
|
|
|
|
|
signal eaten
|
|
|
|
|
|
func eat():
|
|
eaten.emit()
|
|
get_parent().queue_free()
|
|
|
|
|
|
@export var tag: StringName
|