Class InteractiveMaker


  • public class InteractiveMaker
    extends CodeMaker
    Particolare estensione di CodeMaker, rappresentante un giocatore umano. Nello specifico l'utente umano può effettuare decisioni ed impartire comandi passando da un'istanza di GameView.
    Author:
    Francesco Pio Stelluti, Francesco Coppola
    • Method Summary

      Modifier and Type Method Description
      java.util.List<ColorPegs> getCodeToGuess()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InteractiveMaker

        public InteractiveMaker​(GameView newView,
                                int seqLength)
    • Method Detail

      • getCodeToGuess

        public java.util.List<ColorPegs> getCodeToGuess()
        Specified by:
        getCodeToGuess in class CodeMaker
        Returns:
        List contenente i ColorPegs validi come sequenza da indovinare