Constructor and Description |
---|
HealFraction(float healFraction)
Initializes the heal method.
|
Modifier and Type | Method and Description |
---|---|
int |
getHealAmount(PokemonLink pokemon)
Gets the amount of hp that the Pokémon will be healed by.
|
public HealFraction(float healFraction)
healFraction
- The fraction of hp the Pokémon will heal.public int getHealAmount(PokemonLink pokemon)
IHealHP
getHealAmount
in interface IHealHP
pokemon
- The Pokémon to heal.