Large worlds · interface

CellStore

What a stream needs of whatever holds a cell's contents.

Explained in Coordinates and units.

interface CellStore
import type { CellStore } from '@driftengine/core';

Methods

loaded

loaded(id: number): boolean
ParameterTypeDescription
idnumber

load

load(id: number, priority: number): void

Begin loading. Lower priority is sooner, matching the queue's convention.

ParameterTypeDescription
idnumber
prioritynumber

unload

unload(id: number): void
ParameterTypeDescription
idnumber