handleResize method

  1. @mustCallSuper
  2. @override
  3. @internal
void handleResize(
  1. Vector2 size
)
inherited

Implementation

@mustCallSuper
@override
@internal
void handleResize(Vector2 size) {
  super.handleResize(size);
  _queue.forEach((event) {
    if ((event.kind == _LifecycleEventKind.add) &&
        (event.child!.isLoading || event.child!.isLoaded)) {
      event.child!.onGameResize(size);
    }
  });
}