AppState

data class AppState(val gameSession: GameSession, val pagesState: PagesState, val audioThemeState: AudioThemeState, val serviceC: GameServiceImpl = gameSession.game.service) : AppStateImpl

Represents the overall state of the Reversi application.

Constructors

Link copied to clipboard
constructor(gameSession: GameSession, pagesState: PagesState, audioThemeState: AudioThemeState, serviceC: GameServiceImpl = gameSession.game.service)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val audioThemeState: AudioThemeState

The audio and theme configuration for the application.

Link copied to clipboard
open override val gameSession: GameSession

The current game session including game state and player identity.

Link copied to clipboard
open override val pagesState: PagesState

The current page navigation state and any global errors.

Link copied to clipboard
open override val service: GameServiceImpl

The game service used for game operations.

Link copied to clipboard