Class MatchStartSettings


  • public class MatchStartSettings
    extends java.lang.Object
    Responsabilità: tenere traccia delle informazioni necessarie per poter iniziare una nuova partita e da impiegare all'interno di essa. Contratto: le istanze vengono gestite all'interno di MainManager.
    Author:
    Francesco Pio Stelluti, Francesco Coppola
    • Constructor Detail

      • MatchStartSettings

        public MatchStartSettings​(GameViewFactory gameViewFactory)
    • Method Detail

      • getAttempts

        public int getAttempts()
      • setAttempts

        public void setAttempts​(int attempts)
      • getSequenceLength

        public int getSequenceLength()
      • setSequenceLength

        public void setSequenceLength​(int sequenceLength)
      • getLowTresholdLength

        public int getLowTresholdLength()
      • setLowTresholdLength

        public void setLowTresholdLength​(int lowTresholdLength)
      • getHighTresholdLength

        public int getHighTresholdLength()
      • setHighTresholdLength

        public void setHighTresholdLength​(int highTresholdLength)
      • getLowTresholdAttempts

        public int getLowTresholdAttempts()
      • setLowTresholdAttempts

        public void setLowTresholdAttempts​(int lowTresholdAttempts)
      • setMakerFactory

        public void setMakerFactory​(MakerFactory makerFactory)
      • setBreakerFactory

        public void setBreakerFactory​(BreakerFactory breakerFactory)
      • resetLengthAttempts

        public void resetLengthAttempts()