Interface BreakerFactory

    • Method Summary

      Modifier and Type Method Description
      CodeBreaker getBreaker​(GameView view, int seqLength, int attempts)
      Ottenimento di un'istanza di un giocatore CodeBreaker.
    • Method Detail

      • getBreaker

        CodeBreaker getBreaker​(GameView view,
                               int seqLength,
                               int attempts)
        Ottenimento di un'istanza di un giocatore CodeBreaker.
        Parameters:
        view - vista per l'interazione con l'utente fisico
        seqLength - lunghezza della sequenza di ColorPegs da trattare
        attempts - numero di tentativi per vincere il gioco
        Returns:
        CodeBreaker istanza di un giocatore CodeBreaker