API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceMapLevelLoadOptions
@codexo/exojs-tilemap / tilemap / stable
Options for a MapWorldRuntime.loadLevel that also spawns the level's map objects. `spawner` and `context` travel together: the context exists to be handed to that spawner's factories.
3
props
0
methods
0
events
Import
import { MapLevelLoadOptions } from '@codexo/exojs-tilemap'Options for a MapWorldRuntime.loadLevel that also spawns the level's map objects. `spawner` and `context` travel together: the context exists to be handed to that spawner's factories.
Properties3
context: ContextValue handed to every factory of spawner.
signal?: AbortSignalCancels this load. Unloading the level cancels it too.
Spawns the level's map objects as part of the load.
Source