Function previous

  • load the previous level

    Parameters

    • Optionaloptions: {
          container: any;
          flatten: undefined | boolean;
          onLoaded: undefined | Function;
      }

      additional optional parameters

      • container: any

        container in which to load the specified level

      • flatten: undefined | boolean

        if true, flatten all objects into the given container

      • onLoaded: undefined | Function

        callback for when the level is fully loaded

    Returns boolean

    true if the previous level was successfully loaded

    previous

    level