Uses of Class
card.pokemon.PokemonCard
Packages that use PokemonCard
Package
Description
This pacakge contains all the Pokémon cards in the game.
This package contains the main game logic for the Pokémon Trading Card Game (TCG) emulation.
This package contains the classes for the different piles in the game.
-
Uses of PokemonCard in card.pokemon.pokemoncards
Subclasses of PokemonCard in card.pokemon.pokemoncardsModifier and TypeClassDescriptionclassThis class represents a "Diglett" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Dratini" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Growlithe" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Hitmonchan" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Machop" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Ponyta" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Rattata" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Seel" Pokémon card in the Pokémon Trading Card Game.classThis class represents a "Staryu" Pokémon card in the Pokémon Trading Card Game. -
Uses of PokemonCard in game
Methods in game with parameters of type PokemonCardModifier and TypeMethodDescriptionprivate voidGame.showCardStatsHelper(PokemonCard selectedPokemon) Helper method to display the stats of a selected Pokémon card. -
Uses of PokemonCard in pile.piles
Methods in pile.piles with parameters of type PokemonCardModifier and TypeMethodDescriptionprivate booleanActive.applyMoveDamage(int damage, PokemonCard attacker, PokemonCard defender) Applies the move's damage to the defender's HP and checks if the defender is knocked out.private intActive.calculateMoveDamage(Move move, PokemonCard attacker, PokemonCard defender) Calculates the move's damage based on the move's base damage and the defender's weakness/resistance to the attacker's type.private MoveActive.selectMove(PokemonCard attacker, PokemonCard defender) Displays the attacker's moves, prompts the player to select a move, validates the selection, and returns the selected move.