20 lines
308 B
C#
20 lines
308 B
C#
using System;
|
|
|
|
namespace Questionable.Controller.Steps;
|
|
|
|
internal interface ITaskExecutor
|
|
{
|
|
ITask CurrentTask { get; }
|
|
|
|
InteractionProgressContext? ProgressContext { get; }
|
|
|
|
Type GetTaskType();
|
|
|
|
bool Start(ITask task);
|
|
|
|
bool ShouldInterruptOnDamage();
|
|
|
|
bool WasInterrupted();
|
|
|
|
ETaskResult Update();
|
|
}
|