the name of the format, as given to level.add
how levels of this format are made
create(levelId), returning the level object
OptionalloadOptions?: string[]the names of the options addTo reads beyond container, onLoaded and async, so that a Trigger forwards them from its settings
Register a level format: what level.add makes a level of that format from, so that level.load, level.next, level.reload and a
Triggerwork with it as they do with a Tiled map. A loader for another map editor's files registers one, then callslevel.add(format, levelId)for each level it has read.create(levelId)returns the level object, which the director keeps and asks for two things:addTo(container, options): add everything the level holds to the container.optionsare the ones given tolevel.load; the container has been emptied first.destroy(): let go of whataddTobuilt, when another level is loaded. The level is loaded again later with anotheraddTo.It is made when the level is added, which is usually while assets are still loading: keep
createcheap, and read images and build layers inaddTo. Anextobjectidnumber on it, if any, is where the ids of the objects made at run time start.