Interface PlayTestOptions

Description

Play test options

interface PlayTestOptions {
    field: FieldModel;
    numberOfTurns: number;
    onGameActionsChange: ((gameActions) => void);
    onGameStateChange: ((gameState) => void);
    sideAMode?: EGameMode;
    sideBMode?: EGameMode;
}

Properties

field: FieldModel

Description

Field

numberOfTurns: number

Description

Number of turns

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

sideAMode?: EGameMode

Description

Side A mode

sideBMode?: EGameMode

Description

Side B mode

Generated using TypeDoc