public class LevelByDistanceEvolutionCondition extends java.lang.Object implements SpawnerCondition
For example, a Squirtle should not be capable of spawning a very long distance from the spawn because past pokemonLevel 15 because past that pokemonLevel it would be reasonable to say it's evolved.
Constructor and Description |
---|
LevelByDistanceEvolutionCondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
fits(AbstractSpawner spawner,
SpawnInfo spawnInfo,
SpawnLocation spawnLocation)
Returns whether or not this
SpawnInfo at this SpawnLocation is acceptable. |
public boolean fits(AbstractSpawner spawner, SpawnInfo spawnInfo, SpawnLocation spawnLocation)
SpawnerCondition
SpawnInfo
at this SpawnLocation
is acceptable. This is performed async.fits
in interface SpawnerCondition