diff options
Diffstat (limited to 'src/entities/food/scenes')
-rw-r--r-- | src/entities/food/scenes/FoodBasic.tscn (renamed from src/entities/food/scenes/Food.tscn) | 6 | ||||
-rw-r--r-- | src/entities/food/scenes/FoodManager.tscn | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/entities/food/scenes/Food.tscn b/src/entities/food/scenes/FoodBasic.tscn index 7accbc6..5a4474e 100644 --- a/src/entities/food/scenes/Food.tscn +++ b/src/entities/food/scenes/FoodBasic.tscn @@ -1,14 +1,14 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://entities/food/scripts/food.gd" type="Script" id=2] +[ext_resource path="res://entities/food/scripts/food_basic.gd" type="Script" id=1] [sub_resource type="CircleShape2D" id=1] radius = 4.0 -[node name="Food" type="Area2D"] +[node name="FoodBasic" type="Area2D"] collision_layer = 256 collision_mask = 0 -script = ExtResource( 2 ) +script = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] diff --git a/src/entities/food/scenes/FoodManager.tscn b/src/entities/food/scenes/FoodManager.tscn index 3287271..e56b9de 100644 --- a/src/entities/food/scenes/FoodManager.tscn +++ b/src/entities/food/scenes/FoodManager.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://entities/food/scenes/Food.tscn" type="PackedScene" id=1] +[ext_resource path="res://entities/food/scenes/FoodBasic.tscn" type="PackedScene" id=1] [ext_resource path="res://entities/food/scripts/food_manager.gd" type="Script" id=2] [node name="FoodManager" type="Node2D"] script = ExtResource( 2 ) -FOOD = ExtResource( 1 ) +FOOD_BASIC = ExtResource( 1 ) |