mwg API
Reference
Overview
Examples
Getting started
Design
FAQ
Preparing search index...
Mwl
MwlScenarioRunner
Type Alias MwlScenarioRunner<State, Result>
MwlScenarioRunner
:
(
scenario
:
MwlScenarioLink
,
state
:
State
,
context
:
{
levelId
:
string
}
,
)
=>
CampaignLevelResult
<
State
,
Result
>
What playing one scenario means, which only the game can say.
Type Parameters
State
extends
StateValue
Result
extends
StateValue
=
StateValue
Type Declaration
(
scenario
:
MwlScenarioLink
,
state
:
State
,
context
:
{
levelId
:
string
}
,
)
:
CampaignLevelResult
<
State
,
Result
>
Parameters
scenario
:
MwlScenarioLink
state
:
State
context
:
{
levelId
:
string
}
Returns
CampaignLevelResult
<
State
,
Result
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Reference
Overview
Examples
Getting started
Design
FAQ
mwg API
Loading...
What playing one scenario means, which only the game can say.