Files
VRyHungry1/food_item.gd
T
2026-07-16 12:07:32 +02:00

9 lines
184 B
GDScript

class_name FoodItem
extends Node
# Define the Enum at the top of your script
enum Type { MEAL, SIDE, INGREDIENT }
@export var id: String
@export var type: ItemType = Type.INGREDIENT