Skip to content

makeBg

makeBg(opt?): GameObj<BaseComps & RenderComps & RectComp>

Make a color background object. Maker extends makeRender

Parameters

ParameterType
opt?ObjOpt & RenderOpt & BackgroundOpt

Returns

GameObj<BaseComps & RenderComps & RectComp>

Source

global.d.ts:10