Uses of Class
pile.piles.DiscardPile
Packages that use DiscardPile
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 DiscardPile in card.trainer
Methods in card.trainer with parameters of type DiscardPileModifier and TypeMethodDescriptionabstract void
TrainerCard.useEffect
(Deck deck, Hand hand, DiscardPile discardPile) Abstract method to use the effect of the trainer card. -
Uses of DiscardPile in card.trainer.helper
Methods in card.trainer.helper with parameters of type DiscardPileModifier and TypeMethodDescriptionstatic void
TrainerEffect.discardHand
(Hand hand, DiscardPile discardPile) Discards all cards in the player's hand and adds them to the discard pile. -
Uses of DiscardPile in card.trainer.trainercards
Methods in card.trainer.trainercards with parameters of type DiscardPileModifier 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 DiscardPile in game
Fields in game declared as DiscardPileModifier and TypeFieldDescriptionprivate DiscardPile
Player.discardPile
The player's discard pile.Methods in game that return DiscardPile