melonjs
    Preparing search index...

    Function reload

    • reload the current level

      Parameters

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

        additional optional parameters

        • Optionalcontainer?: any

          container in which to load the specified level

        • Optionalflatten?: boolean

          if true, flatten all objects into the given container

        • OptionalonLoaded?: Function

          callback for when the level is fully loaded

      Returns object

      the current level

      reload

      level