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

    Modifier and Type
    Class
    Description
    class 
    This class represents a "Diglett" Pokémon card in the Pokémon Trading Card Game.
    class 
    This class represents a "Dratini" Pokémon card in the Pokémon Trading Card Game.
    class 
    This class represents a "Growlithe" Pokémon card in the Pokémon Trading Card Game.
    class 
    This class represents a "Hitmonchan" Pokémon card in the Pokémon Trading Card Game.
    class 
    This class represents a "Machop" Pokémon card in the Pokémon Trading Card Game.
    class 
    This class represents a "Ponyta" Pokémon card in the Pokémon Trading Card Game.
    class 
    This class represents a "Rattata" Pokémon card in the Pokémon Trading Card Game.
    class 
    This class represents a "Seel" Pokémon card in the Pokémon Trading Card Game.
    class 
    This 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 PokemonCard
    Modifier and Type
    Method
    Description
    private void
    Game.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 PokemonCard
    Modifier and Type
    Method
    Description
    private boolean
    Active.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 int
    Active.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 Move
    Active.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.