[gd_scene load_steps=5 format=2]

[ext_resource path="res://sprites/tile/test/TestStairsUp.png" type="Texture" id=1]
[ext_resource path="res://objects/level/StairsUp.gd" type="Script" id=2]

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

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

[node name="StairsUp" type="StaticBody2D"]
script = ExtResource( 2 )

[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 1, 8 )
shape = SubResource( 1 )

[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
position = Vector2( 31, 8 )
shape = SubResource( 1 )

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

[node name="Stairs" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 16, 8 )
shape = SubResource( 2 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"]
