Package pile.piles
Class DiscardPile
java.lang.Object
pile.Pile
pile.piles.DiscardPile
Represents the discard pile in the Pokémon Trading Card Game, where the player's discarded cards are placed.
This class extends the Pile class and is used to manage the player's discarded cards.
- Version:
- 1.0
- Author:
- Tyler Mong
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class pile.Pile
addCard, display, drawCard, getCardAtIndex, getCards, getSize, isEmpty, removeCard, secondaryDisplay, shuffle
-
Constructor Details
-
DiscardPile
public DiscardPile()Constructor for the DiscardPile class. Initializes the discard pile for the player.
-