2025-02-05 19:41:49 +01:00
|
|
|
|
using Cirno.Scripts.Actors;
|
2025-03-15 17:17:30 +01:00
|
|
|
|
using Cirno.Scripts.AttackPatterns;
|
2025-02-05 19:41:49 +01:00
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Cirno.Scripts.Resources;
|
|
|
|
|
|
|
2025-02-13 14:21:04 +01:00
|
|
|
|
[GlobalClass]
|
2025-06-03 10:11:09 +02:00
|
|
|
|
[Tool]
|
2025-02-05 19:41:49 +01:00
|
|
|
|
public abstract partial class AttackPattern : Resource
|
|
|
|
|
|
{
|
2025-03-15 17:17:30 +01:00
|
|
|
|
//public Node2D Parent;
|
2025-02-05 19:41:49 +01:00
|
|
|
|
[Export] public bool WaitForCompletion = true;
|
2025-03-15 17:17:30 +01:00
|
|
|
|
//public abstract void Start(Node2D parent);
|
|
|
|
|
|
//public abstract void UpdatePattern(double delta);
|
|
|
|
|
|
//public abstract bool IsComplete();
|
2025-06-10 16:33:43 +02:00
|
|
|
|
public abstract IPatternMachine MakeMachine(Node parent);
|
2025-02-05 19:41:49 +01:00
|
|
|
|
}
|