Class Experience
java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.Experience
Experience: Methods for awarding exp. to a team's Pokémon. Class made final since it has no instance
variables/methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
awardExp
(List<BattleParticipant> participants, BattleParticipant losingTeamOwner, PixelmonWrapper faintedPokemon) Award exp.
-
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.
-