using System.Collections.Generic; namespace FluidHTN.Compounds { public interface ICompoundTask : ITask { List Subtasks { get; } ICompoundTask AddSubtask(ITask subtask); /// /// Decompose the task onto the tasks to process queue, mind it's depth first /// /// /// DecompositionStatus Decompose(IContext ctx, int startIndex, out Queue result); } }