Factory
Factory<
T
>(extensions?
): () =>IFactory
<T
>
Defined in: mixins/factory/Factory.ts:10
Type Parameters
Section titled “Type Parameters”T
extends object
= { animatedSprite
: (props?
) => AnimatedSprite
; bitmapText
: (props?
) => BitmapText
; button
: (props?
) => Button
; container
: (props?
) => Container
<Application
<DataSchema
, ActionContext
, Action
, Renderer
>>; existing
: <TEntity
>(entity
, props?
) => TEntity
; flexContainer
: (props?
) => FlexContainer
; graphics
: (props?
) => Graphics
; htmlText
: (props?
) => HTMLText
; particleContainer
: (props?
) => ParticleContainer
<Application
<DataSchema
, ActionContext
, Action
, Renderer
>>; spine
: (props?
) => Spine
; spineAnimation
: <ANames
, A
>(props?
) => SpineAnimation
<ANames
, A
>; sprite
: (props?
) => Sprite
; text
: (props?
) => Text
; texture
: (props?
) => Texture
; tilingSprite
: (props?
) => TilingSprite
; toaster
: (toasterConfig?
, defaultToastConfig
) => Toaster
; uiCanvas
: (props?
) => UICanvas
; svg
: Svg
; }
Parameters
Section titled “Parameters”extensions?
Section titled “extensions?”Partial
<T
>
Returns
Section titled “Returns”new Factory():
IFactory
<T
>
Returns
Section titled “Returns”IFactory
<T
>