summaryrefslogtreecommitdiff
path: root/src/Game.tscn
blob: 1709a85395ffb25ca30428e7e0590a6071ecca06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[gd_scene load_steps=7 format=2]

[ext_resource path="res://entities/actors/snake/scenes/Snake.tscn" type="PackedScene" id=1]
[ext_resource path="res://ui/hud/HUD.tscn" type="PackedScene" id=2]
[ext_resource path="res://tools/score_manager/ScoreManager.tscn" type="PackedScene" id=3]
[ext_resource path="res://entities/food/scenes/FoodManager.tscn" type="PackedScene" id=4]
[ext_resource path="res://tools/world_generator/scenes/WorldGenerator.tscn" type="PackedScene" id=5]
[ext_resource path="res://game.gd" type="Script" id=6]

[node name="Game" type="Node2D"]
script = ExtResource( 6 )

[node name="WorldGenerator" parent="." instance=ExtResource( 5 )]

[node name="ScoreManager" parent="." instance=ExtResource( 3 )]

[node name="Snake" parent="." instance=ExtResource( 1 )]

[node name="FoodManager" parent="." instance=ExtResource( 4 )]
WORLD_GENERATOR_NP = NodePath("../WorldGenerator")

[node name="HUDScreen" type="CanvasLayer" parent="."]

[node name="HUD" parent="HUDScreen" instance=ExtResource( 2 )]