addAll method
Prepares and registers a list of components to be added on the next game tick.
This is the interface compliant version; if you want to provide an
explicit gameRef or await for the Loadable.onLoad
, use addChild.
Note: the components are only added on the next tick. This method always returns the total length of the provided list.
Implementation
@override
int addAll(Iterable<Component> components) {
addChildren(components);
return components.length;
}