Index
All Classes and Interfaces|All Packages|Serialized Form
S
- screenDetail() - Method in class GameLogic.GameLogic
-
Prints a consistent screen divider for UI formatting.
- SecondEvolutionPokemon - Enum Class in Pokemon.Attributes
-
Enumeration of Pokémon species that represent the second stage in their evolutionary line.
- SecondEvolutionPokemon() - Constructor for enum class Pokemon.Attributes.SecondEvolutionPokemon
- selectPlayerToAttack(Trainer) - Method in class GameLogic.GameLogic
-
Allows the current trainer to select an opponent to attack during their turn.
- setCurrentPokemon(Pokemon) - Method in class Trainer.Trainer
-
Sets the trainer's current Pokémon.
- setHealth(int) - Method in class Pokemon.Pokemon
-
Updates the Pokémon's health to a new value.
- setHealthIfPokemonDamagesItsSelf(int) - Method in class Pokemon.Pokemon
-
Reduces the Pokémon's health when it damages itself.
- setHealthIfPokemonHealsItsSelf(int, int) - Method in class Pokemon.Pokemon
-
Increases the Pokémon's health when it heals itself.
- setIfTrainerIsAlive(boolean) - Method in class Trainer.Trainer
-
Sets the trainer's alive status.
- setTellsIfPokemonIsInvincible(boolean) - Method in class Pokemon.Pokemon
-
Sets the invincibility status of the Pokémon.
- setTellsIfPokemonIsPoisoned(boolean) - Method in class Pokemon.Pokemon
-
Sets the poisoned status of the Pokémon.
- Squirtle - Class in Pokemon.Water
-
Represents the Pokémon Squirtle, a Water-type Pokémon.
- Squirtle() - Constructor for class Pokemon.Water.Squirtle
-
Constructs a new Squirtle Pokémon with default health, element type, ASCII art, and its single attack.
- SQUIRTLE - Enum constant in enum class Pokemon.Attributes.firstEvolutionPokemon
-
Squirtle, first evolution.
- SQUIRTLE - Enum constant in enum class Pokemon.Attributes.PokemonAndHealth
-
Squirtle's default health value.
- squirtleArt - Static variable in class ASCIIArt.PokemonArt
-
ASCII art representation of the Pokémon Squirtle.
- startGame() - Method in class GameLogic.GameLogic
-
Starts the Pokémon battle game and manages the entire game flow.
All Classes and Interfaces|All Packages|Serialized Form