setLoaded method

  1. @internal
void setLoaded()
inherited

Used by the FlameGame to set the loaded state of the component, since the game isn't going through the whole normal component life cycle.

Implementation

@internal
void setLoaded() {
  _setLoadedBit();
  _loadCompleter?.complete();
  _loadCompleter = null;
}