@game-vir/entity - v15.1.1
Preparing search index...
EntityConstructorParams
Type Alias EntityConstructorParams<Params, Context>
EntityConstructorParams
:
(
IsNever
<
Extract
<
Context
,
undefined
|
null
>
>
extends
true
?
{
context
:
Context
}
:
{
context
?:
Context
}
)
&
(
IsNever
<
Extract
<
Params
,
undefined
|
null
>
>
extends
true
?
{
params
:
Params
}
:
{
params
?:
Params
}
)
&
{
entityStore
:
EntityStore
<
Context
>
;
hitboxSystem
:
System
;
paramsMap
?:
ParamsMap
<
NoInfer
<
Params
>
>
;
pixi
:
Application
;
}
Parameters for an entity's constructor.
Type Parameters
Params
extends
Record
<
string
,
any
>
|
undefined
=
undefined
Context
=
undefined
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@game-vir/entity - v15.1.1
Loading...
Parameters for an entity's constructor.