mwg API
Reference
Overview
Examples
Getting started
Design
FAQ
Preparing search index...
Simulation
SimulationRuntimeRule
Type Alias SimulationRuntimeRule<State, Command, Event, A>
SimulationRuntimeRule
:
(
state
:
State
,
command
:
Command
,
context
:
SimulationContext
<
A
>
,
)
=>
SimulationOutcome
<
State
,
Event
>
Type Parameters
State
Command
Event
A
extends
Roguelike
.
Actor
Type Declaration
(
state
:
State
,
command
:
Command
,
context
:
SimulationContext
<
A
>
,
)
:
SimulationOutcome
<
State
,
Event
>
Parameters
state
:
State
command
:
Command
context
:
SimulationContext
<
A
>
Returns
SimulationOutcome
<
State
,
Event
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Reference
Overview
Examples
Getting started
Design
FAQ
mwg API
Loading...