canSelectPiece property

bool get canSelectPiece

Whether a human may call selectPiece right now.

Implementation

bool get canSelectPiece =>
    !_disposed &&
    !_paused &&
    !_isAnimating &&
    !isCurrentPlayerBot &&
    _state.phase == LudoTurnPhase.awaitingPieceSelection;