public final class Experience
extends java.lang.Object
| Constructor and Description |
|---|
Experience() |
| Modifier and Type | Method and Description |
|---|---|
static void |
awardExp(java.util.List<BattleParticipant> participants,
BattleParticipant losingTeamOwner,
PixelmonWrapper faintedPokemon)
Award exp.
|
public static void awardExp(java.util.List<BattleParticipant> participants, BattleParticipant losingTeamOwner, PixelmonWrapper faintedPokemon)
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.