Class ImmutableBattleStats

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.stat.ImmutableBattleStats

public class ImmutableBattleStats extends Object
The immutable battle stats for the form of a pokemon
  • Constructor Details

    • ImmutableBattleStats

      public ImmutableBattleStats(Map<BattleStatsType,Integer> stats)
      The default constructor taking the default battle stats that are unchangeable during runtime
      Parameters:
      stats - The map of battle stats for the pokemon
    • ImmutableBattleStats

      public ImmutableBattleStats(int hp, int attack, int defense, int specialAttack, int specialDefense, int speed)
  • Method Details

    • getStat

      public int getStat(BattleStatsType stat)
      Gets a base stat for the Pokémon.
      Parameters:
      stat - The base stat to get.
      Returns:
      The corresponding base stat of the Pokémon.