dynamicGuardSelector

inline fun <E> Task<E>.dynamicGuardSelector(tasks: Array<Task<E>> = Array(), init: DynamicGuardSelector<E>.() -> Unit = {}): Int

Creates and adds a DynamicGuardSelector to the receiver Task.

Return

the index where the DynamicGuardSelector has been added.

Parameters

E

the type of the receiving task's blackboard.

tasks

the children of the DynamicGuardSelector.

init

an optional inline block to configure the DynamicGuardSelector.