mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-13 19:15:53 +00:00
Event System
This commit is contained in:
parent
797e24d766
commit
f379eac5c3
10 changed files with 336 additions and 10 deletions
12
Scripts/Resources/Events/EventResource.cs
Normal file
12
Scripts/Resources/Events/EventResource.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Resources.Events;
|
||||
|
||||
[GlobalClass]
|
||||
public abstract partial class EventResource : Resource
|
||||
{
|
||||
[Export] public bool WaitForCompletion = true;
|
||||
public abstract void Start(Node2D parent);
|
||||
public abstract void UpdateEvent(double delta);
|
||||
public abstract bool IsComplete();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue