Uses of Class
pile.piles.Deck
Packages that use Deck
Package
Description
This package contains classes related to Trainer cards in the Pokémon Trading Card Game (TCG) emulation.
This package contains the helper class for the trainer cards.
This package contains all the trainer cards in the game.
This package contains the main game logic for the Pokémon Trading Card Game (TCG) emulation.
-
Uses of Deck in card.trainer
Methods in card.trainer with parameters of type DeckModifier and TypeMethodDescriptionvoid
Overloaded method to use the effect of the trainer card without a discard pile.abstract void
TrainerCard.useEffect
(Deck deck, Hand hand, DiscardPile discardPile) Abstract method to use the effect of the trainer card. -
Uses of Deck in card.trainer.helper
Methods in card.trainer.helper with parameters of type Deck -
Uses of Deck in card.trainer.trainercards
Methods in card.trainer.trainercards with parameters of type DeckModifier and TypeMethodDescriptionvoid
Bill.useEffect
(Deck deck, Hand hand, DiscardPile discardPile) Uses the effect of the "Bill" trainer card, which is to draw 2 cards from the player's deck.void
ProfessorOak.useEffect
(Deck deck, Hand hand, DiscardPile discardPile) Uses the effect of the "Professor Oak" trainer card, which is to discard the player's hand and then draw 7 cards from the player's deck. -
Uses of Deck in game
Modifier and TypeMethodDescriptionPlayer.getDeck()
Returns the player's deck.static Deck
DeckBuilder.getPrebuiltDeck
(String deckName) Returns a specific prebuilt deck by its name.