Program<'Model, 'Msg> Type
The Elmish program record that defines the complete game architecture.
A program ties together initialization, update logic, subscriptions, and rendering. Use the Program module functions to construct and configure programs.
Record fields
| Record Field |
Description
|
|
List of MonoGame component factories.
|
|
List of configuration callbacks invoked in the game constructor. Use this to set resolution, vsync, window settings, etc.
|
|
Controls when dispatched messages become eligible for processing. See DispatchMode.
|
|
Optional framework-managed fixed timestep configuration.
|
|
Creates initial model and commands when the game starts.
|
|
Returns subscriptions based on current model state.
|
Optional function to generate a message each frame.
|
|
Handles messages and returns updated model and commands.
|
Mibo