package de.thdeg.greiner.superpangworld.graphics.helper;

import de.thdeg.greiner.superpangworld.gameview.GameView;

/**
 * The class handling the start screen of the game.
 */
public class StartScreen {

    /** The game view to display the start screen on */
    private GameView gameView;
    /** The flag, if the user chose the easy difficulty */
    private boolean difficultySetToEasy;

    /**
     * Create a start screen which can be displayed onto the game view.
     *
     * @param gameView the game view
     */
    public StartScreen(GameView gameView){
        this.gameView = gameView;
    }

    /**
     * Show the game start screen.
     */
    public void showStartScreen(){
        difficultySetToEasy = gameView.showSimpleStartScreen("Super Pang World","Start the game");
    }

    /**
     * Check if the user chose the easy difficulty.
     *
     * @return <code>true</code> if the easy difficulty was chosen, else <code>false</code>
     */
    public boolean isDifficultySetToEasy(){
        return difficultySetToEasy;
    }

}
