CategoryOptions beta
Interface of @v12-engine/client
ts
export interface CategoryOptionsHow the categories of a game are known: those it declares, and its function
Members
categories
ts
categories?: readonly AssetCategory[];The categories declared, in code and in assets.json
categoryOf
ts
categoryOf?: AssetCategoryHook;The game's own function, asked first (GameView.files.assetCategory)