selector
inline fun <E> Task<E>.selector(tasks: Array<Task<E>> = Array(), init: GdxAiSelector<E>.() -> Unit = {}): Int
Creates and adds a GdxAiSelector to the receiver Task.
Return
the index where the GdxAiSelector has been added.
Parameters
E
the type of the receiving task's blackboard.
tasks
the children of the GdxAiSelector.
init
an optional inline block to configure the GdxAiSelector.