ensureInitialized static method

ObjectsSpawnedMapper ensureInitialized()

Implementation

static ObjectsSpawnedMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = ObjectsSpawnedMapper._());
    HybridWorldEventMapper.ensureInitialized().addSubMapper(_instance!);
    VectorDefinitionMapper.ensureInitialized();
    GameObjectMapper.ensureInitialized();
  }
  return _instance!;
}