clear method
Marks all existing components to be removed from the components list on the next game tick.
Implementation
@Deprecated('This method will be removed in v1.2.0')
@override
void clear() {
forEach((element) => element.removeFromParent());
}