API reference

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

T

typeMapObjectFactory

@codexo/exojs-tilemap / tilemap / stable

Creates one runtime object from one map object, or `null` to deliberately create nothing for it. `signal` aborts with the spawn it belongs to; a factory that loads assets or awaits anything else should pass it on, so a level unloaded mid-load stops its own work too.

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

Creates one runtime object from one map object, or `null` to deliberately create nothing for it.

`signal` aborts with the spawn it belongs to; a factory that loads assets or awaits anything else should pass it on, so a level unloaded mid-load stops its own work too.

Definition1
Source