@Cards-TS
Preparing search index...
@cards-ts/core
ParamsController
Class ParamsController<GameParams>
Handles the params for a game
Type Parameters
GameParams
extends
Serializable
Hierarchy (
View Summary
)
GlobalController
<
ParamsState
<
GameParams
>
,
{}
>
ParamsController
Index
Constructors
constructor
Properties
controllers
state
Methods
get
get
For
validate
Constructors
constructor
new
ParamsController
<
GameParams
extends
Serializable
>
(
state
:
GameParams
,
controllers
:
{}
,
)
:
ParamsController
<
GameParams
>
Type Parameters
GameParams
extends
Serializable
Parameters
state
:
GameParams
controllers
:
{}
Returns
ParamsController
<
GameParams
>
Properties
Protected
controllers
controllers
:
{}
Protected
state
state
:
GameParams
Methods
get
get
()
:
Readonly
<
GameParams
>
Returns
Readonly
<
GameParams
>
get
For
getFor
()
:
GameParams
Returns
GameParams
validate
validate
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
controllers
state
Methods
get
get
For
validate
@Cards-TS
Loading...
Handles the params for a game