summaryrefslogtreecommitdiff
path: root/src/entities/food/scripts/food_basic.gd
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/food/scripts/food_basic.gd')
-rw-r--r--src/entities/food/scripts/food_basic.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/entities/food/scripts/food_basic.gd b/src/entities/food/scripts/food_basic.gd
new file mode 100644
index 0000000..0a56208
--- /dev/null
+++ b/src/entities/food/scripts/food_basic.gd
@@ -0,0 +1,10 @@
+class_name FoodBasic
+extends Food
+
+enum Type {
+ APPLE
+}
+
+
+func _ready():
+ texture[Type.APPLE] = preload("res://entities/food/sprites/apple.png") \ No newline at end of file