mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Mapping
This commit is contained in:
parent
ba2f6a97fc
commit
efd6283487
15 changed files with 177 additions and 35 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue