Class ImmutableBattleStats
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.stat.ImmutableBattleStats
The immutable battle stats for the form of a pokemon
-
Constructor Summary
ConstructorDescriptionImmutableBattleStats
(int hp, int attack, int defense, int specialAttack, int specialDefense, int speed) The default constructor taking the default battle stats that are unchangeable during runtime -
Method Summary
Modifier and TypeMethodDescriptionint
getStat
(BattleStatsType stat) Gets a base stat for the Pokémon.
-
Constructor Details
-
ImmutableBattleStats
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
Gets a base stat for the Pokémon.- Parameters:
stat
- The base stat to get.- Returns:
- The corresponding base stat of the Pokémon.
-