makeSprite
makeSprite(
opt
):GameObj
<BaseComps
&RenderComps
&SpriteComp
>
Make an object with a sprite component. Maker extends makeRender
Parameters
Parameter | Type |
---|---|
opt | ObjOpt & RenderOpt & SpriteOpt |
Returns
GameObj
<BaseComps
& RenderComps
& SpriteComp
>