2025-03-20 18:22:40 +01:00
|
|
|
|
using Cirno.Scripts.Enums;
|
|
|
|
|
|
using Cirno.Scripts.Resources;
|
|
|
|
|
|
using Cirno.Scripts.Resources.Loot;
|
|
|
|
|
|
using Godot;
|
|
|
|
|
|
using Godot.Collections;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Cirno.Scripts.Components.FSM.Enemy;
|
|
|
|
|
|
|
|
|
|
|
|
public partial class EnemyFSMProxy : CharacterBody2D
|
|
|
|
|
|
{
|
|
|
|
|
|
[Export] public EnemyStateMachine EnemyFSM { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Export] public EnemyResource EnemyResource { get; private set; }
|
2025-03-21 16:03:44 +01:00
|
|
|
|
|
|
|
|
|
|
[Export] public Array<LootDrop> ExtraLoot { get; private set; } = [];
|
2025-03-20 18:22:40 +01:00
|
|
|
|
|
|
|
|
|
|
[Export]
|
|
|
|
|
|
public AiState StartingAiState { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
[ExportCategory("Defeat Script")]
|
|
|
|
|
|
[Export] public Node2D DefeatScript { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Export] public ActivationType ActivationType { get; private set; } = ActivationType.Toggle;
|
|
|
|
|
|
}
|