Large worlds · function
freezeCell
Stop a cell simulating and capture exactly what it held. false if it was already frozen.
Explained in Coordinates and units.
function freezeCell(world: FreezableWorld, frozen: FrozenCells, cell: number): booleanimport { freezeCell } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
world | FreezableWorld | |
frozen | FrozenCells | |
cell | number |
In depth
Refuses rather than throws, because the caller is a streamer inside a frame and the honest answer to "freeze this again" is that there is nothing to do.