✨ Building regisery instead of single building
This commit is contained in:
@@ -1,21 +1,22 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://c22aprj452aha"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cudpc3w17mbsw" path="res://Scripts/System/GridManager.cs" id="1_knkkn"]
|
||||
[ext_resource type="Script" uid="uid://cfbj72nm0eovg" path="res://Scripts/System/BuildingRegistry.cs" id="1_sxhdm"]
|
||||
[ext_resource type="Script" uid="uid://bx1wj7gn6vrqe" path="res://Scripts/System/PlacementManager.cs" id="2_sxhdm"]
|
||||
[ext_resource type="PackedScene" uid="uid://doxy60afddg1m" path="res://Scenes/Entities/Player.tscn" id="3_oss8w"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1pudmkg5nnhj" path="res://Scenes/Tiles/WallTile.tscn" id="3_sxhdm"]
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="BuildingRegistry" type="Node" parent="."]
|
||||
script = ExtResource("1_sxhdm")
|
||||
|
||||
[node name="GridSystem" type="Node2D" parent="."]
|
||||
script = ExtResource("1_knkkn")
|
||||
|
||||
[node name="PlacementSystem" type="Node2D" parent="." node_paths=PackedStringArray("Grid")]
|
||||
[node name="PlacementSystem" type="Node2D" parent="." node_paths=PackedStringArray("Grid", "Registry")]
|
||||
script = ExtResource("2_sxhdm")
|
||||
BuildingScene = ExtResource("3_sxhdm")
|
||||
Grid = NodePath("../GridSystem")
|
||||
|
||||
[node name="WallTile" parent="." instance=ExtResource("3_sxhdm")]
|
||||
Registry = NodePath("../BuildingRegistry")
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("3_oss8w")]
|
||||
position = Vector2(602, 324)
|
||||
|
Reference in New Issue
Block a user