[gd_scene load_steps=11 format=2]

[ext_resource path="res://LAI.gd" type="Script" id=1]
[ext_resource path="res://src/Steering/BehaviorController2D.gd" type="Script" id=2]
[ext_resource path="res://src/Steering/Behaviors/PrioritySteering2D.gd" type="Script" id=3]
[ext_resource path="res://src/Steering/Behaviors/Individual/ArriveBehavior2D.gd" type="Script" id=4]
[ext_resource path="res://src/Steering/Behaviors/BlendedBehavior2D.gd" type="Script" id=5]
[ext_resource path="res://src/Steering/Behaviors/Individual/AlignBehavior2D.gd" type="Script" id=6]
[ext_resource path="res://src/Steering/Behaviors/Individual/FleeBehavior2D.gd" type="Script" id=7]
[ext_resource path="res://icon.png" type="Texture" id=8]
[ext_resource path="res://Player.gd" type="Script" id=9]
[ext_resource path="res://target.png" type="Texture" id=10]

[node name="Node2D" type="Node2D"]

[node name="AI" type="Node2D" parent="."]
position = Vector2( 203.878, 129.64 )

[node name="AI" type="Node" parent="AI"]
script = ExtResource( 1 )

[node name="BehaviorController2D" type="Node" parent="AI/AI"]
script = ExtResource( 2 )
actor_path = NodePath("../..")
max_speed = 500.0
max_acceleration = 1000.0
max_rotation_speed = 3.0
max_angular_acceleration = 100.0

[node name="PrioritySteering2D" type="Node" parent="AI/AI/BehaviorController2D"]
script = ExtResource( 3 )

[node name="ArriveBehavior2D" type="Node" parent="AI/AI/BehaviorController2D/PrioritySteering2D"]
script = ExtResource( 4 )

[node name="BlendedBehavior2D" type="Node" parent="AI/AI/BehaviorController2D/PrioritySteering2D"]
script = ExtResource( 5 )
weights = [ 1.0, 0.2 ]

[node name="AlignBehavior2D" type="Node" parent="AI/AI/BehaviorController2D/PrioritySteering2D/BlendedBehavior2D"]
script = ExtResource( 6 )
deceleration_radius = 45.0
alignment_tolerance = 2.0

[node name="FleeBehavior2D" type="Node" parent="AI/AI/BehaviorController2D/PrioritySteering2D/BlendedBehavior2D"]
script = ExtResource( 7 )

[node name="Sprite" type="Sprite" parent="AI"]
texture = ExtResource( 8 )

[node name="Player" type="Node2D" parent="." groups=[
"player",
]]
position = Vector2( 437.193, 297.482 )
rotation = 1.5708
script = ExtResource( 9 )

[node name="Sprite" type="Sprite" parent="Player"]
texture = ExtResource( 10 )
