app/src/main/java/com/zenappse/memorymatcher/GameController.java
private void updateDeck(Card cardOne, Card cardTwo) {
        int cardOneGameBoard = cardOne.getGameBoard();
        int cardOnePos = cardOne.getPosition();

        int cardTwoGameBoard = cardTwo.getGameBoard();
        int cardTwoPos = cardTwo.getPosition();

        gameGridCardDeck.getDeckOfCards(cardOneGameBoard).get(cardOnePos).setFlipped(true);
        gameGridCardDeck.getDeckOfCards(cardTwoGameBoard).get(cardTwoPos).setFlipped(true);
    }
/**
     * Method to update the card deck with what has been flipped over with a current
     * match
     *
     * @param cardOne Previously tapped card
     * @param cardTwo Current card tapped
     */
Method to update the card deck with what has been flipped over with a current
match

@param cardOne Previously tapped card
@param cardTwo Current card tapped
Method to update the card deck with what has been flipped over with a current match @param cardOne Previously tapped card @param cardTwo Current card tapped
private void updateDeck(Card cardOne, Card cardTwo) {
        int cardOneGameBoard = cardOne.getGameBoard();
        int cardOnePos = cardOne.getPosition();
        int cardTwoGameBoard = cardTwo.getGameBoard();
        int cardTwoPos = cardTwo.getPosition();
        gameGridCardDeck.getDeckOfCards(cardOneGameBoard).get(cardOnePos).setFlipped(true);
        gameGridCardDeck.getDeckOfCards(cardTwoGameBoard).get(cardTwoPos).setFlipped(true);
    }
private void updateDeck ( Card cardOne , Card cardTwo ) { int cardOneGameBoard = cardOne . getGameBoard ( ) ; int cardOnePos = cardOne . getPosition ( ) ; int cardTwoGameBoard = cardTwo . getGameBoard ( ) ; int cardTwoPos = cardTwo . getPosition ( ) ; gameGridCardDeck . getDeckOfCards ( cardOneGameBoard ) . get ( cardOnePos ) . setFlipped ( true ) ; gameGridCardDeck . getDeckOfCards ( cardTwoGameBoard ) . get ( cardTwoPos ) . setFlipped ( true ) ; }
Method to update the card deck with what has been flipped over with a current
 match
Method to update the card deck with what has been flipped over with a current match