java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.Experience

public final class Experience extends Object
Experience: Methods for awarding exp. to a team's Pokémon. Class made final since it has no instance variables/methods.
  • Constructor Details

    • Experience

      public Experience()
  • Method Details

    • awardExp

      public static void awardExp(List<BattleParticipant> participants, BattleParticipant losingTeamOwner, PixelmonWrapper faintedPokemon)
      Award exp. to the Pokémon of battle participants after an opposing Pokémon faints.
      Parameters:
      participants - List of team owners to award exp. to.
      losingTeamOwner - Owner of faintedPokemon; will be a player, an NPC, or wild (no owner).
      faintedPokemon - Defeated Pokémon to base exp. reward on.