API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeMapLevelProvider

@codexo/exojs-tilemap / tilemap / stable

Produces the runtime TileMap for one level - the single seam where a source format meets the format-neutral world runtime. Anything awaitable is accepted, so a provider can hand back a LoaderScope.load queue directly. The returned map becomes **owned by that level runtime**, which destroys it on unload. Return a map built for this load; handing back a shared map (an entry of an eagerly converted document, say) makes the runtime destroy an object other code still holds.

0
props
0
methods
0
events
Import
import { MapLevelProvider } from '@codexo/exojs-tilemap'

Produces the runtime TileMap for one level - the single seam where a source format meets the format-neutral world runtime.

Anything awaitable is accepted, so a provider can hand back a LoaderScope.load queue directly.

The returned map becomes **owned by that level runtime**, which destroys it on unload. Return a map built for this load; handing back a shared map (an entry of an eagerly converted document, say) makes the runtime destroy an object other code still holds.

Definition1
Source