Index
All Classes and Interfaces|All Packages|Serialized Form
P
- Pikachu - Class in Pokemon.Electricity
-
Represents the Pokémon Pikachu, an Electric-type Pokémon.
- Pikachu() - Constructor for class Pokemon.Electricity.Pikachu
-
Constructs a new Pikachu Pokémon with default health, element type, ASCII art, and its two attacks.
- PIKACHU - Enum constant in enum class Pokemon.Attributes.PokemonAndHealth
-
Pikachu's default health value.
- PIKACHU - Enum constant in enum class Pokemon.Attributes.SecondEvolutionPokemon
-
Pikachu, no previous evolution (evolves directly into third evolution: Raichu).
- PIKACHU - Enum constant in enum class Pokemon.Attributes.TwoAttackPokemon
-
Pikachu has two available attacks.
- pikachuArt - Static variable in class ASCIIArt.PokemonArt
-
ASCII art representation of the Pokémon Pikachu.
- playerAmount - Variable in class GameLogic.GameLogic
-
Total number of players participating in the current game session.
- playerPokemonDied(Trainer, String) - Method in class GameLogic.GameLogic
-
Determines the outcome when a trainer's Pokémon faints during the game.
- playerWasChosenToBeAttacked(Trainer, Trainer, int) - Method in class GameLogic.GameLogic
-
Executes an attack from the current trainer's Pokémon on a target trainer's Pokémon.
- Pokemon - package Pokemon
- Pokemon - Class in Pokemon
-
Abstract base class representing a Pokémon in the game.
- Pokemon(String, int, ElementType, String, AttackInfo[]) - Constructor for class Pokemon.Pokemon
-
Constructs a new
Pokemonwith the specified attributes. - Pokemon.Attributes - package Pokemon.Attributes
- Pokemon.Electricity - package Pokemon.Electricity
- Pokemon.Fire - package Pokemon.Fire
- Pokemon.Grass - package Pokemon.Grass
- Pokemon.Water - package Pokemon.Water
- PokemonAndHealth - Enum Class in Pokemon.Attributes
-
Enumeration defining Pokémon species along with their default health values.
- PokemonAndHealth(int) - Constructor for enum class Pokemon.Attributes.PokemonAndHealth
-
Constructs a
PokemonAndHealthenum constant with the specified default health value. - PokemonArt - Class in ASCIIArt
-
Provides ASCII art representations for Pokémon and related visual assets.
- PokemonArt() - Constructor for class ASCIIArt.PokemonArt
- pokemonDiedPermanently(Trainer, String) - Method in class GameLogic.GameLogic
-
Handles the permanent death of a trainer's Pokémon.
- pokemonDiedPermanentlyDuringItsTurnException - Exception Class in CustomException
-
Thrown to indicate that a Pokémon has permanently fainted during its own turn.
- pokemonDiedPermanentlyDuringItsTurnException() - Constructor for exception class CustomException.pokemonDiedPermanentlyDuringItsTurnException
-
Constructs a new exception with no detail message.
- pokemonDiedPermanentlyDuringItsTurnException(String) - Constructor for exception class CustomException.pokemonDiedPermanentlyDuringItsTurnException
-
Constructs a new exception with the specified detail message.
- pokemonFactory - Variable in class GameLogic.GameLogic
-
Factory used to create new
Pokemoninstances dynamically. - pokemonFactory(String) - Method in class Pokemon.PokemonFactory
-
Creates a new
Pokemoninstance based on the provided Pokémon name. - PokemonFactory - Class in Pokemon
-
Factory class for creating
Pokemoninstances. - PokemonFactory() - Constructor for class Pokemon.PokemonFactory
- pokemonLogoArt - Static variable in class ASCIIArt.PokemonArt
-
ASCII art representation of the Pokémon logo.
- pokemonRevivedAfterDying(Trainer, String) - Method in class GameLogic.GameLogic
-
Handles the revival of a trainer's Pokémon after fainting.
- populatePlayerInformation() - Method in class GameLogic.GameLogic
-
Collects and registers information for all players participating in the game.
- printAsciiArtPokemon(String) - Method in class GameLogic.GameLogic
-
Displays the ASCII art representation of a given Pokémon.
- printBuffsAndDebuffs() - Method in class Pokemon.Pokemon
-
Prints the current buffs and debuffs affecting the Pokémon.
- printOutPlayersPokemonFaintStats(Trainer, int, String) - Method in class GameLogic.GameLogic
-
Updates a trainer's Pokémon after it faints and handles potential revival and evolution.
All Classes and Interfaces|All Packages|Serialized Form