I'm new to Java and making a small game for practice.
if (doAllFaceUpCardsMatch == false) {
//run pause here//
concentration.flipAllCardsFaceDown();
} else {
concentration.makeAllFaceUpCardsInvisible();
}
I want to pause the game for two seconds here before it does
concentration.flipAllCardsFaceDown();
How would I go about pausing it?