[gd_scene load_steps=9 format=2]

[ext_resource path="res://data/images/enemies/base_enemy.png" type="Texture" id=1]
[ext_resource path="res://src/actors/enemies/zombie/Zombie.gd" type="Script" id=2]
[ext_resource path="res://src/actors/character/Health.tscn" type="PackedScene" id=3]
[ext_resource path="res://src/actors/enemies/EnemyBasicAnimationPlayer.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/actors/enemies/EnemyBasicAnimationTree.tscn" type="PackedScene" id=5]
[ext_resource path="res://src/actors/InterfaceHook.tscn" type="PackedScene" id=6]

[sub_resource type="CapsuleShape2D" id=1]
radius = 8.99322
height = 5.78754

[sub_resource type="AnimationNodeStateMachinePlayback" id=2]

[node name="Zombie" type="KinematicBody2D" groups=[
"actor",
]]
collision_layer = 16
collision_mask = 19
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
SPOT_RANGE = 400.0
FOLLOW_RANGE = 800.0
MAX_FOLLOW_SPEED = 180.0
SLOW_RADIUS = 30.0
MASS = 1.1
ROAM_RADIUS = 150.0

[node name="Body" type="Sprite" parent="."]
position = Vector2( 0, -64 )
texture = ExtResource( 1 )
vframes = 8
hframes = 32
frame = 76

[node name="Health" parent="." instance=ExtResource( 3 )]
max_health = 15

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 1 )

[node name="RayCast2D" type="RayCast2D" parent="."]
visible = false

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

[node name="AnimationPlayer" parent="." instance=ExtResource( 4 )]

[node name="AnimationTree" parent="." instance=ExtResource( 5 )]
parameters/playback = SubResource( 2 )

[node name="InterfaceHook" parent="." instance=ExtResource( 6 )]
