This commit is contained in:
Marco 2025-02-14 13:27:30 +01:00
commit efd6283487
15 changed files with 177 additions and 35 deletions

View file

@ -5,7 +5,7 @@ using Godot.Collections;
namespace Cirno.Scripts.Activables;
public partial class ScriptableBase : Node2D
public partial class ScriptableBase : Node2D, IActivable
{
[Export] public Array<EventResource> Events;
@ -59,4 +59,9 @@ public partial class ScriptableBase : Node2D
// StartPhase(CurrentPhase);
// }
}
public void Activate(ActivationType activationType = ActivationType.Toggle)
{
Start();
}
}