canRoll property

bool get canRoll

Whether a human may call rollDice right now.

Implementation

bool get canRoll =>
    !_disposed &&
    !_paused &&
    !_isAnimating &&
    !isCurrentPlayerBot &&
    _state.phase == LudoTurnPhase.awaitingRoll;