Skip to content

MakerFN

MakerFN<TOpt, TComps>: (opt) => GameObj<TComps>

A function that creates a Game Object.

Example

makeArea();

Type parameters

Type parameterDescription
TOptThe options to create the object.
TCompsThe components that the object will have.

Parameters

ParameterType
optTOpt

Returns

GameObj<TComps>

Source

kiboom.d.ts:19