[gd_scene load_steps=11 format=3 uid="uid://bxhyxox662buj"]

[ext_resource type="Script" uid="uid://pcl0om2k32g6" path="res://scenes/room/room.gd" id="1_8xru0"]
[ext_resource type="Script" uid="uid://diou146pyb0br" path="res://scenes/room/room_camera.gd" id="3_y1kpu"]
[ext_resource type="Script" uid="uid://b7715auuhy7vu" path="res://scenes/room/states/room_entering.gd" id="4_1w8vm"]
[ext_resource type="Script" uid="uid://diths5s8vd7lr" path="res://classes/state_machine/state_machine.gd" id="4_vaubn"]
[ext_resource type="Script" uid="uid://d2xitfobwbk20" path="res://scenes/room/states/room_playing.gd" id="5_w7vtx"]
[ext_resource type="Script" uid="uid://drnrd5xlt8imm" path="res://scenes/room/states/room_exiting.gd" id="6_7jj40"]
[ext_resource type="Script" uid="uid://ceevyto3vbq7c" path="res://scenes/room/states/room_paused.gd" id="6_gui0a"]
[ext_resource type="Shader" uid="uid://bxvmsjxx0tj21" path="res://shaders/palette.gdshader" id="8_dv301"]
[ext_resource type="Texture2D" uid="uid://h5523ru86vrd" path="res://assets/palettes/forgotten.png" id="9_68b7a"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_ip1yl"]
shader = ExtResource("8_dv301")
shader_parameter/palette = ExtResource("9_68b7a")
shader_parameter/palette_size = 120

[node name="Room" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_8xru0")

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

[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
material = SubResource("ShaderMaterial_ip1yl")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="RoomDirector" type="Node" parent="." node_paths=PackedStringArray("initial_state")]
process_mode = 3
script = ExtResource("4_vaubn")
initial_state = NodePath("Entering")
metadata/_custom_type_script = "uid://diths5s8vd7lr"

[node name="Entering" type="Node" parent="RoomDirector"]
script = ExtResource("4_1w8vm")
metadata/_custom_type_script = "uid://hjm43hb4os07"

[node name="Playing" type="Node" parent="RoomDirector"]
script = ExtResource("5_w7vtx")
metadata/_custom_type_script = "uid://hjm43hb4os07"

[node name="Paused" type="Node" parent="RoomDirector"]
script = ExtResource("6_gui0a")
metadata/_custom_type_script = "uid://hjm43hb4os07"

[node name="Exiting" type="Node" parent="RoomDirector"]
script = ExtResource("6_7jj40")
metadata/_custom_type_script = "uid://hjm43hb4os07"

[node name="RoomCamera" type="Camera2D" parent="."]
editor_draw_screen = false
script = ExtResource("3_y1kpu")
