forked from cschladetsch/CsharpFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIKernel.cs
More file actions
33 lines (28 loc) · 826 Bytes
/
Copy pathIKernel.cs
File metadata and controls
33 lines (28 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// (C) 2012 Christian Schladetsch. See https://github.com/cschladetsch/Flow.
namespace Flow
{
/// <inheritdoc />
/// <summary>
/// When an IKernel is Stepped, it updates its Time property,
/// and steps its Root node.
/// </summary>
public interface IKernel
: IGenerator
{
EDebugLevel DebugLevel { get; set; }
ILogger Log { get; set; }
/// <summary>
/// If true, the Kernel will stop mid-senten
/// </summary>
bool Break { get; }
/// <summary>
/// The root of the process tree.
/// </summary>
INode Root { get; set; }
IFactory Factory { get; }
ITimeFrame Time { get; }
void Update(float deltaSeconds);
void Wait(System.TimeSpan duration);
void BreakFlow();
}
}