new Composite()
Initialization method.
Methods
-
contextProperties()
-
-
currentChildIndex(tick)
-
return running child index
Parameters:
Name Type Description tick
Tick Returns:
of the current running child- Type
- number
-
nonContextChild(index)
-
checks if the child is a non-contextual child
Parameters:
Name Type Description index
number of a child to check Returns:
- true if not a context child- Type
- boolean
-
validators()
-
a composite must have children we can't use super so reuse by copy & paste for now defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
- Type
- Array.<Validator>