public class AttackAction extends PokemonRelatedBattleAction
A logged move in battle.
  • Field Details

    • pokemonName

      protected final String pokemonName
    • participantName

      protected final String participantName
    • wildPokemon

      protected final boolean wildPokemon
    • attack

      protected final Attack attack
    • targets

      protected final String[] targets
    • moveResults

      protected final MoveResults[] moveResults
  • Constructor Details

    • AttackAction

      public AttackAction(int turn, PixelmonWrapper pokemon, Attack attack, PixelmonWrapper[] targets, MoveResults[] moveResults)
      Logs a move in battle.
      Parameters:
      turn - The turn the move was used on.
      pokemon - The Pokémon who used the move.
      attack - The move used, or null.
      targets -
      moveResults - The results of the move.
  • Method Details