Package-level declarations
Overview
Main menu screen where users can start a new game, load saved games, access settings, or exit the application.
Components
MainMenu— Main menu page composableMainMenuBg— Background rendering for the menuMainMenuViewModel— State management for menu interactions
Responsibilities
Displaying main menu options
Handling user navigation to other pages
Managing menu state and animations
Types
Link copied to clipboard
UI state for the main menu screen.
Link copied to clipboard
class MainMenuViewModel(val appState: AppStateImpl, val globalError: ReversiException? = null, val setGlobalError: (Exception?, ErrorType?) -> Unit, val setPage: (Page) -> Unit) : ViewModel<MainMenuUIState>
ViewModel for the main menu screen. Manages menu interactions, audio playback, and navigation state.
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Composable
Main menu screen showing navigation options. Handles menu audio playback and navigation callbacks to other pages.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard