[gd_scene load_steps=3 format=2]

[ext_resource path="res://scripts/border.gd" type="Script" id=1]

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

[node name="border" type="Area2D"]
position = Vector2( 8, -2 )
monitorable = false
script = ExtResource( 1 )

[node name="left" type="Node2D" parent="."]

[node name="pol" type="Polygon2D" parent="left"]
polygon = PoolVector2Array( 1, 0, 0, 0, 0, 2, 1, 2 )

[node name="right" type="Node2D" parent="."]
position = Vector2( 15, 0 )
rotation = -3.14159
scale = Vector2( 1, -1 )

[node name="pol" type="Polygon2D" parent="right"]
polygon = PoolVector2Array( 1, 0, 0, 0, 0, 2, 1, 2 )

[node name="vis" type="VisibilityNotifier2D" parent="."]
visible = false
rect = Rect2( -2, -2, 19, 6 )

[node name="coll_left" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( 0, 0, 0, 2, 1, 2, 1, 0 )
disabled = true

[node name="coll_right" type="CollisionPolygon2D" parent="."]
position = Vector2( 15, 0 )
polygon = PoolVector2Array( 0, 0, 0, 2, 1, 2, 1, 0 )
disabled = true

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

[node name="life_time" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
autostart = true
