Large worlds · interface
CellStore
What a stream needs of whatever holds a cell's contents.
Explained in Coordinates and units.
interface CellStoreimport type { CellStore } from '@driftengine/core';Methods
loaded
loaded(id: number): boolean| Parameter | Type | Description |
|---|---|---|
id | number |
load
load(id: number, priority: number): voidBegin loading. Lower priority is sooner, matching the queue's convention.
| Parameter | Type | Description |
|---|---|---|
id | number | |
priority | number |
unload
unload(id: number): void| Parameter | Type | Description |
|---|---|---|
id | number |