qstbak/Questionable/Questionable.Controller.Steps/ITaskExecutor.cs
2026-08-19 13:19:57 +10:00

24 lines
373 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();
void ResetTimeout();
bool HasTimedOut(float timeoutSeconds);
ETaskResult Update();
}