Added IExecutable and ISlotContainer interface.
Changed SlotContainerNode to ExecutableNode
This commit is contained in:
15
Runtime/Contracts/Nodes/IExecutable.cs
Normal file
15
Runtime/Contracts/Nodes/IExecutable.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Misaki.GraphView
|
||||
{
|
||||
public interface IExecutable
|
||||
{
|
||||
/// <summary>
|
||||
/// Execute the node.
|
||||
/// </summary>
|
||||
public void Execute();
|
||||
|
||||
/// <summary>
|
||||
/// Clear the execution flag.
|
||||
/// </summary>
|
||||
public void ClearExecutionFlag();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user