Index
All Classes and Interfaces|All Packages|Serialized Form
G
- gameInstructions() - Method in class GameLogic.GameLogic
-
Displays the game instructions and important gameplay information to the players.
- gameIntroduction() - Method in class GameLogic.GameLogic
-
Displays an introduction message to the players.
- gameLogic() - Method in class GameLogic.GameLogic
-
Executes the main game loop for the Pokémon battle game.
- GameLogic - package GameLogic
- GameLogic - Class in GameLogic
-
Handles the core logic of the Pokémon battle game.
- GameLogic() - Constructor for class GameLogic.GameLogic
- getAsciiArt() - Method in class Pokemon.Pokemon
-
Prints the Pokémon's ASCII art to the console.
- getAttackAndDamageInfo() - Method in class Pokemon.Pokemon
-
Prints the Pokémon's current health, status effects, and available attacks.
- getAttackDamage() - Method in class Pokemon.Attributes.AttackInfo
-
Returns the base damage of the attack.
- getAttackDescription() - Method in class Pokemon.Attributes.AttackInfo
-
Returns the description of the attack.
- getAttackInfo() - Method in class Pokemon.Pokemon
-
Returns the attacks available to this Pokémon.
- getAttackName() - Method in class Pokemon.Attributes.AttackInfo
-
Returns the name of the attack.
- getAttackResult1(ElementType) - Method in class Pokemon.Electricity.Pikachu
-
Executes Pikachu's
Gnawattack. - getAttackResult1(ElementType) - Method in class Pokemon.Electricity.Raichu
-
Executes Raichu's
Agilityattack. - getAttackResult1(ElementType) - Method in class Pokemon.Fire.Charizard
-
Executes Charizard's
Fire Spinattack. - getAttackResult1(ElementType) - Method in class Pokemon.Fire.Charmander
-
Executes Charmander's
Emberattack. - getAttackResult1(ElementType) - Method in class Pokemon.Fire.Charmeleon
-
Executes Charmeleon's
Flamethrowerattack. - getAttackResult1(ElementType) - Method in class Pokemon.Grass.Bulbasaur
-
Executes Bulbasaur's
Leech Seedattack. - getAttackResult1(ElementType) - Method in class Pokemon.Grass.Ivysaur
-
Executes Ivysaur's
Vine Whipattack. - getAttackResult1(ElementType) - Method in class Pokemon.Grass.Venusaur
-
Executes Venusaur's
Solarbeamattack. - getAttackResult1(ElementType) - Method in class Pokemon.Water.Blastoise
-
Executes Blastoise's
Hydro Pumpattack. - getAttackResult1(ElementType) - Method in class Pokemon.Water.Squirtle
-
Executes Squirtle's
Shell Attack. - getAttackResult1(ElementType) - Method in class Pokemon.Water.Wartortle
-
Executes Wartortle's
Withdrawattack. - getAttackResult2(ElementType) - Method in class Pokemon.Electricity.Pikachu
-
Executes Pikachu's
Thunder Joltattack. - getAttackResult2(ElementType) - Method in class Pokemon.Electricity.Raichu
-
Executes Raichu's
Thunderattack. - getAttackResult2(ElementType) - Method in class Pokemon.Grass.Ivysaur
-
Executes Ivysaur's
Poisonpowderattack. - getAttackResult2(ElementType) - Method in class Pokemon.Water.Wartortle
-
Executes Wartortle's
Biteattack. - getCounterToIncreaseAttackDamage() - Method in class Pokemon.Pokemon
-
Returns the counter tracking increased attack damage.
- getCurrentPokemon() - Method in class Trainer.Trainer
-
Returns the Pokémon the trainer is currently using in battle.
- getElementType() - Method in class Pokemon.Pokemon
-
Returns the elemental type of the Pokémon.
- getFaintCounter() - Method in class Trainer.Trainer
-
Returns the number of remaining faints before the trainer is considered defeated.
- getHealth() - Method in enum class Pokemon.Attributes.PokemonAndHealth
-
Returns the default health value for this Pokémon.
- getHealth() - Method in class Pokemon.Pokemon
-
Returns the current health of the Pokémon.
- getIfTrainerIsAlive() - Method in class Trainer.Trainer
-
Checks if the trainer is still alive and able to battle.
- getName() - Method in class Pokemon.Pokemon
-
Returns the name of the Pokémon.
- getName() - Method in class Trainer.Trainer
-
Returns the name of the trainer.
- getTellsIfPokemonIsInvincible() - Method in class Pokemon.Pokemon
-
Indicates whether the Pokémon is invincible.
- getTellsIfPokemonIsPoisoned() - Method in class Pokemon.Pokemon
-
Indicates whether the Pokémon is poisoned.
- givePlayerTheirPokemon(int) - Method in class GameLogic.GameLogic
-
Prompts a specific player to select their Pokémon and assigns it using the
PokemonFactory. - GrassType - Class in Elements.Grass
-
Represents the Grass elemental type.
- GrassType() - Constructor for class Elements.Grass.GrassType
All Classes and Interfaces|All Packages|Serialized Form