app/src/main/java/com/zenappse/memorymatcher/GameState.java
public boolean saveState(){
        boolean saveSuccessful;
        saveSuccessful = gameStorageManager.setGameGridCardDeck(gameGridCardDeck);
        saveSuccessful = (gameStorageManager.setGameController(gameController, username) && saveSuccessful);
        saveSuccessful = (gameStorageManager.setHighScore(highscore) && saveSuccessful);
        saveSuccessful = (gameStorageManager.setCurrentScore(currentScore) && saveSuccessful);
        saveSuccessful = (gameStorageManager.setRecordHolder(recordHolder) && saveSuccessful);
        return saveSuccessful;
    }
/**
     * Saves the game: gameGridCardDeck, gameController for the given username, highscore,
     * currentScore, and recordHolder
     *
     * @return boolean true if successful
     */
Saves the game: gameGridCardDeck, gameController for the given username, highscore,
currentScore, and recordHolder

@return boolean true if successful
Saves the game : gameGridCardDeck gameController for the given username highscore currentScore and recordHolder @return boolean true if successful
public boolean saveState(){
        boolean saveSuccessful;
        saveSuccessful = gameStorageManager.setGameGridCardDeck(gameGridCardDeck);
        saveSuccessful = (gameStorageManager.setGameController(gameController, username) && saveSuccessful);
        saveSuccessful = (gameStorageManager.setHighScore(highscore) && saveSuccessful);
        saveSuccessful = (gameStorageManager.setCurrentScore(currentScore) && saveSuccessful);
        saveSuccessful = (gameStorageManager.setRecordHolder(recordHolder) && saveSuccessful);
        return saveSuccessful;
    }
public boolean saveState ( ) { boolean saveSuccessful ; saveSuccessful = gameStorageManager . setGameGridCardDeck ( gameGridCardDeck ) ; saveSuccessful = ( gameStorageManager . setGameController ( gameController , username ) && saveSuccessful ) ; saveSuccessful = ( gameStorageManager . setHighScore ( highscore ) && saveSuccessful ) ; saveSuccessful = ( gameStorageManager . setCurrentScore ( currentScore ) && saveSuccessful ) ; saveSuccessful = ( gameStorageManager . setRecordHolder ( recordHolder ) && saveSuccessful ) ; return saveSuccessful ; }
Saves the game: gameGridCardDeck, gameController for the given username, highscore,
 currentScore, and recordHolder
Saves the game : gameGridCardDeck gameController for the given username highscore currentScore and recordHolder