Class SecretCodePrompt

java.lang.Object
mastermind.gui.scenes.Scene
mastermind.gui.scenes.SecretCodePrompt

public class SecretCodePrompt extends Scene
Represents a scene where the user is prompted to enter the correct code.
  • Constructor Details

    • SecretCodePrompt

      public SecretCodePrompt(JFrame frame, Status status, List<Code> guesses, List<Response> responses)
      Initializes a new SecretCodePrompt scene with the specified JFrame, game status, guesses, and responses.
      Parameters:
      frame - The JFrame to be associated with this scene.
      status - The current game status.
      guesses - The list of guesses made by the code breaker.
      responses - The list of responses corresponding to each guess.