2
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
447 B
C#

namespace CleverCrow.Fluid.BTs.TaskParents.Composites {
public abstract class CompositeBase : TaskParentBase {
public int ChildIndex { get; protected set; }
public override void End () {
if (ChildIndex < Children.Count) {
Children[ChildIndex].End();
}
}
public override void Reset () {
ChildIndex = 0;
base.Reset();
}
}
}