Class BlackJackCardUtility
java.lang.Object
de.presti.ree6.game.impl.blackjack.util.BlackJackCardUtility
Utility class used to provide methods for the game of blackjack.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<BlackJackCard>
Returns every card of the default deck.static BlackJackCard
Returns a random card from the default deck.static void
Method called to add all basic cards to the list.
-
Method Details
-
loadAllCards
public static void loadAllCards()Method called to add all basic cards to the list. -
getRandomCard
Returns a random card from the default deck.- Returns:
- A random card from the default deck.
-
getAllCards
Returns every card of the default deck.- Returns:
- Every card of the default deck.
-