Interface PlayRealOptions

Description

Play real options

interface PlayRealOptions {
    game: GameModel;
    gameMode?: EGameMode;
    onGameActionsChange: ((gameActions) => void);
    onGameStateChange: ((gameState) => void);
    onPostError?: ((error) => void);
    onShowCountDownChange?: ((showCountDown) => void);
    onWaitTimeChange?: ((waitTime) => void);
    side: EWallSide;
}

Properties

game: GameModel

Description

Game

gameMode?: EGameMode

Description

Game mode

onGameActionsChange: ((gameActions) => void)

Type declaration

    • (gameActions): void
    • Parameters

      Returns void

      Void

      Description

      On game actions change

onGameStateChange: ((gameState) => void)

Type declaration

    • (gameState): void
    • Parameters

      Returns void

      Void

      Description

      On game state change

onPostError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

      Void

      Description

      On post error

onShowCountDownChange?: ((showCountDown) => void)

Type declaration

    • (showCountDown): void
    • Parameters

      • showCountDown: boolean

        Show count down

      Returns void

      Void

      Description

      On show count down

onWaitTimeChange?: ((waitTime) => void)

Type declaration

    • (waitTime): void
    • Parameters

      • waitTime: number

        Wait time

      Returns void

      Void

      Description

      On wait time change

side: EWallSide

Description

Side

Generated using TypeDoc