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
tasks
the children of the GdxAiSelector.
init
an optional inline block to configure the GdxAiSelector.
Type Parameters
E
the type of the receiving task's blackboard.