IContainer
Defined in: display/Container.ts:36
Interface for the Container class.
Extended by
Properties
app
app:
IApplication
Defined in: display/Container.ts:37
onDestroy
onDestroy:
Signal
<() =>void
>
Defined in: display/Container.ts:39
Methods
addColoredBackground()
addColoredBackground(
colorOrConfig
?,alpha
?):Sprite
Defined in: display/Container.ts:49
Parameters
colorOrConfig?
number
| Partial
<BackgroundConfig
>
alpha?
number
Returns
Sprite
added()
added():
void
|Promise
<void
>
Defined in: display/Container.ts:43
Returns
void
| Promise
<void
>
destroy()
destroy(
options
?):void
Defined in: display/Container.ts:41
Parameters
options?
DestroyOptions
Returns
void
resize()
resize(
size
?):void
Defined in: display/Container.ts:45
Parameters
size?
Returns
void
update()
update(
ticker
?):void
Defined in: display/Container.ts:47
Parameters
ticker?
number
| Ticker
Returns
void