Skip to content

five-on-it / apps/creator/src/pick / modelPicker

Function: modelPicker() ​

modelPicker(tiers, make?): (job) => Promise<Model>

Defined in: apps/creator/src/pick.ts:24

Picks a turn's model: its owner's (make makes one by its id; without it, as with the scripted model, the tier's always) or its tier's.

Parameters ​

tiers ​

cityModel ​

Model

model ​

Model

make? ​

(id) => Promise<Model>

Returns ​

(job) => Promise<Model>