Modifier and Type | Method and Description |
---|---|
default void |
addStat(BattleStatsType type,
int value)
Adds value amount to the specific battle stat type
|
int |
getStat(BattleStatsType type)
Gets the pokemonLevel of the request battle stat type
|
default int |
getTotal() |
void |
setStat(BattleStatsType type,
int value)
Sets the pokemonLevel of the specified battle stat type
|
default void |
takeStat(BattleStatsType type,
int value)
Takes value amount from the specific battle stat type
|
int getStat(BattleStatsType type)
type
- The type of battle stat being obtainedvoid setStat(BattleStatsType type, int value)
type
- The type being setvalue
- the new valuedefault void addStat(BattleStatsType type, int value)
type
- The type being added tovalue
- The amount being addeddefault void takeStat(BattleStatsType type, int value)
type
- The type being taken fromvalue
- The amount being takendefault int getTotal()