[gd_scene load_steps=6 format=2]

[ext_resource path="res://src/weapon/gun/OrdinaryGun.cs" type="Script" id=1]
[ext_resource path="res://prefab/weapon/bullet/OrdinaryBullets.tscn" type="PackedScene" id=2]
[ext_resource path="res://resource/sprite/gun/gun1.png" type="Texture" id=3]
[ext_resource path="res://prefab/shell/ShellCase.tscn" type="PackedScene" id=4]

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

[node name="Gun" type="Node2D"]
z_index = 5
script = ExtResource( 1 )
bulletPacked = ExtResource( 2 )
shell = ExtResource( 4 )

[node name="GunSprite" type="Sprite" parent="."]
position = Vector2( 4, -3 )
scale = Vector2( 0.8, 0.8 )
texture = ExtResource( 3 )

[node name="OriginPoint" type="Position2D" parent="."]
position = Vector2( 0, -1.5 )

[node name="ShellPoint" type="Position2D" parent="."]
position = Vector2( 1, -3 )

[node name="FirePoint" type="Position2D" parent="."]
position = Vector2( 11, -1.5 )

[node name="Area" type="Area2D" parent="."]
collision_layer = 4
collision_mask = 0

[node name="Collision" type="CollisionShape2D" parent="Area"]
position = Vector2( 4.2, -0.199999 )
shape = SubResource( 1 )
disabled = true
