Interface MakerFactory
-
- All Superinterfaces:
PlayerFactory
- All Known Implementing Classes:
InteractiveMakerFactory
,RandomBotMakerFactory
public interface MakerFactory extends PlayerFactory
Responsabilità: fornire istanze di implementazioni diCodeMaker
. Interfaccia finalizzata all'implementazione di classi factory per le particolari implementazioni dei giocatoriCodeMaker
.- Author:
- Francesco Pio Stelluti, Francesco Coppola
-
-
Method Summary
-
Methods inherited from interface it.unicam.cs.pa.mastermind.factories.PlayerFactory
getDescription, getName
-
-
-
-
Method Detail
-
getMaker
CodeMaker getMaker(GameView view, int seqLength, int attempts)
Ottenimento di un'istanza di un giocatoreCodeMaker
.- Parameters:
view
- vista per l'interazione con l'utente fisicoseqLength
- lunghezza della sequenza diColorPegs
da trattareattempts
- numero di tentativi per vincere il gioco- Returns:
- CodeMaker istanza di un giocatore
CodeMaker
-
-