In-game tools · function

bindPanel

Explained in In-game tools.

function bindPanel<W, V>(panel: Panel<W, V>, world: () => Readonly<W>, view: V): PanelBinding
import { bindPanel } from '@driftengine/tools';

Parameters

ParameterTypeDescription
panelPanel<W, V>
world() => Readonly<W>
viewV