using Cirno.Scripts.Actors;
using Cirno.Scripts.AttackPatterns;
using Godot;

namespace Cirno.Scripts.Resources;

[GlobalClass]
[Tool]
public abstract partial class AttackPattern : Resource
{
    //public Node2D Parent;
    [Export] public bool WaitForCompletion = true;
    //public abstract void Start(Node2D parent);
    //public abstract void UpdatePattern(double delta);
    //public abstract bool IsComplete();
    public abstract IPatternMachine MakeMachine(Node parent);
}