[gd_scene load_steps=9 format=2]

[ext_resource path="res://Rooms/BedRoom2/bed_room2.png" type="Texture" id=1]
[ext_resource path="res://Interact/Object.tscn" type="PackedScene" id=2]
[ext_resource path="res://Rooms/BedRoom2/BedRoom2.gd" type="Script" id=3]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 12, 5 )

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 4, 7 )

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 2, 9 )

[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 3, 4 )

[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 2, 6 )

[node name="BedRoom2" type="Node2D"]
script = ExtResource( 3 )

[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 16, 16 )
texture = ExtResource( 1 )

[node name="Floor" parent="." instance=ExtResource( 2 )]
type = "move"

[node name="CollisionShape2D" parent="Floor" index="0"]
position = Vector2( 17, 27 )
shape = SubResource( 1 )

[node name="DoorUp" parent="." instance=ExtResource( 2 )]
position = Vector2( 20, 22 )
type = "door"
next_scene = "res://Rooms/BedRoom3/BedRoom3.tscn"
destination = Vector2( 26, 24 )
player_facing = 1

[node name="CollisionShape2D" parent="DoorUp" index="0"]
position = Vector2( 0, -9 )
shape = SubResource( 2 )

[node name="DoorLeft" parent="." instance=ExtResource( 2 )]
position = Vector2( 6, 25 )
type = "door"
next_scene = "res://Rooms/Staircase/Staircase.tscn"
destination = Vector2( 28, 24 )
player_facing = 1
sound = "door_open"

[node name="CollisionShape2D" parent="DoorLeft" index="0"]
position = Vector2( -4, -8 )
shape = SubResource( 3 )

[node name="Mirror" parent="." instance=ExtResource( 2 )]
position = Vector2( 11, 23 )
next_scene = "res://Rooms/BedRoom2/Mirror.tscn"

[node name="CollisionShape2D" parent="Mirror" index="0"]
position = Vector2( -1, -8 )
shape = SubResource( 4 )

[node name="Entrance" parent="." instance=ExtResource( 2 )]
position = Vector2( 29, 26 )
type = "door"
next_scene = "res://Rooms/BedRoom/BedRoom.tscn"
destination = Vector2( 4, 28 )
player_facing = 0

[node name="CollisionShape2D" parent="Entrance" index="0"]
position = Vector2( 2, 0 )
shape = SubResource( 5 )
[connection signal="used" from="DoorUp" to="." method="_on_DoorUp_used"]

[editable path="Floor"]

[editable path="DoorUp"]

[editable path="DoorLeft"]

[editable path="Mirror"]

[editable path="Entrance"]
