| Simple Poker Template 0.0.1
    | 
Class representing a deck of playing cards. More...
 
 | Public Member Functions | |
| void | MakeDeck (int quantity=1) | 
| Creates a deck of cards, in which a deck represents 52 cards. | |
| void | OrganizeCardsPositionInDeck () | 
| Organizes the position of cards in the deck. | |
| void | ShuffleDeck () | 
| Shuffles the deck. | |
| void | DestroyDeck () | 
| Destroys the entire deck, clear lists. | |
| void | RemoveCardFromDeck (Card card) | 
| Removes a specific card from the deck. | |
| void | RemoveCardsBySameValueFromDeck (Card.VALUE value) | 
| Removes all cards with the same value from the deck. | |
| void | AddCardToDeck (Card card) | 
| Adds a card to the deck. | |
| void | AddListOfCardToDeck (List< Card > listCards) | 
| Adds a list of cards to the deck. | |
| void | AddCardToListCardsInGame (Card card) | 
| Adds a card to the list of cards in the game. | |
| Card | GetFirstCardFromDeck () | 
| Gets the first card from the list of card (deck). | |
| Card | GetLastCardFromDeck () | 
| Gets the last card from the list of card (deck). | |
| Card | GetCardByValueAndSuit (Card.VALUE value, Card.SUIT suit) | 
| Gets a card by its value and suit from the deck. | |
| List< Card > | SelectCards (List< Card > cardsToSelect) | 
| Selects cards from the deck based on a list of cards to select. | |
| bool | IsValidCardOperation () | 
| Checks whether the current deck's operation is valid, such as whether the deck has at least one card. | |
| void | ResetDeck () | 
| Resets the deck to its initial state. | |
| Properties | |
| DeckData | DeckData  [get] | 
| List< Card > | Cards  [get] | 
| List< Card > | CardsInGame  [get] | 
Class representing a deck of playing cards.
Creating, shuffling, and managing the deck.
| void SimplePoker.Logic.Deck.AddCardToDeck | ( | Card | card | ) | 
Adds a card to the deck.
| card | The card to add. | 
| void SimplePoker.Logic.Deck.AddCardToListCardsInGame | ( | Card | card | ) | 
Adds a card to the list of cards in the game.
| card | The card to add. | 
| void SimplePoker.Logic.Deck.AddListOfCardToDeck | ( | List< Card > | listCards | ) | 
Adds a list of cards to the deck.
| listCards | The list of cards to add. | 
| void SimplePoker.Logic.Deck.DestroyDeck | ( | ) | 
Destroys the entire deck, clear lists.
| Card SimplePoker.Logic.Deck.GetCardByValueAndSuit | ( | Card::VALUE | value, | 
| Card::SUIT | suit ) | 
Gets a card by its value and suit from the deck.
| value | The value of the card. | 
| suit | The suit of the card. | 
| Card SimplePoker.Logic.Deck.GetFirstCardFromDeck | ( | ) | 
Gets the first card from the list of card (deck).
| Card SimplePoker.Logic.Deck.GetLastCardFromDeck | ( | ) | 
Gets the last card from the list of card (deck).
| bool SimplePoker.Logic.Deck.IsValidCardOperation | ( | ) | 
Checks whether the current deck's operation is valid, such as whether the deck has at least one card.
| void SimplePoker.Logic.Deck.MakeDeck | ( | int | quantity = 1 | ) | 
Creates a deck of cards, in which a deck represents 52 cards.
| quantity | The number of decks to create. | 
| void SimplePoker.Logic.Deck.OrganizeCardsPositionInDeck | ( | ) | 
Organizes the position of cards in the deck.
| void SimplePoker.Logic.Deck.RemoveCardFromDeck | ( | Card | card | ) | 
Removes a specific card from the deck.
| card | The card to remove. | 
| void SimplePoker.Logic.Deck.RemoveCardsBySameValueFromDeck | ( | Card::VALUE | value | ) | 
Removes all cards with the same value from the deck.
| value | The value of the cards to remove. | 
| void SimplePoker.Logic.Deck.ResetDeck | ( | ) | 
Resets the deck to its initial state.
Selects cards from the deck based on a list of cards to select.
| cardsToSelect | The list of cards to select from the deck. | 
| void SimplePoker.Logic.Deck.ShuffleDeck | ( | ) | 
Shuffles the deck.
| 
 | get | 
| 
 | get | 
| 
 | get |