Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- pile - package pile
-
This package contains the classes for the various piles used in the Pokémon Trading Card Game (TCG) emulation.
- Pile - Class in pile
-
This class represents a generic pile of cards in the Pokémon Trading Card Game.
- Pile() - Constructor for class pile.Pile
-
Constructor to initialize a pile, creating an empty list of cards and setting the size to 0.
- pile.piles - package pile.piles
-
This package contains the classes for the different piles in the game.
- playCard(Card) - Method in class pile.piles.Hand
-
Plays a card from the player's hand and removes it from the hand.
- Player - Class in game
-
This class represents a player in the Pokémon Trading Card Game.
- Player(String) - Constructor for class game.Player
-
Constructor to initialize a player with a name and card piles.
- player1 - Variable in class game.Game
-
A reference to the first player in the game.
- player2 - Variable in class game.Game
-
A reference to the second player in the game.
- playerHasCompletedAction2ThisTurn - Variable in class game.Game
-
A flag used to indicate if the player has completed the action of attaching an Energy card to a Pokémon this turn.
- playerHasCompletedAction4ThisTurn - Variable in class game.Game
-
A flag used to indicate if the player has completed the action of retreating their Active Pokémon this turn.
- playTrainerCard(Player) - Method in class game.Game
-
Handles playing a Trainer card.
- PokemonCard - Class in card.pokemon
-
This class represents a Pokémon card in the Pokémon Trading Card Game.
- PokemonCard(String, int, String, String, int) - Constructor for class card.pokemon.PokemonCard
-
Constructor to initialize a Pokémon card with a name, HP, weakness, resistance, retreat cost, moves, and energy count.
- Ponyta - Class in card.pokemon.pokemoncards
-
This class represents a "Ponyta" Pokémon card in the Pokémon Trading Card Game.
- Ponyta() - Constructor for class card.pokemon.pokemoncards.Ponyta
-
Constructor to initialize a "Ponyta" Pokémon card with its unique attributes.
- prebuiltDecks - Static variable in class game.DeckBuilder
-
Maps deck name to deck object.
- Prize - Class in pile.piles
-
Represents the prize pile in the Pokémon Trading Card Game, where the player's prize cards are placed.
- Prize() - Constructor for class pile.piles.Prize
-
Constructor for the Prize class.
- prizeCards - Variable in class game.Player
-
The player's prize cards.
- ProfessorOak - Class in card.trainer.trainercards
-
This class represents the Trainer card "Professor Oak" in the Pokémon Trading Card Game.
- ProfessorOak() - Constructor for class card.trainer.trainercards.ProfessorOak
-
Constructor to initialize the "Professor Oak" trainer card with its name and description.
- PsychicEnergy - Class in card.energy.energycards
-
This class represents a "Psychic Energy" card in the Pokémon Trading Card Game.
- PsychicEnergy() - Constructor for class card.energy.energycards.PsychicEnergy
-
Constructor to initialize a "Psychic Energy" card with its type and value.
All Classes and Interfaces|All Packages|Constant Field Values