Interface SpawnerCondition
- All Known Implementing Classes:
LevelByDistanceEvolutionCondition,PlayerBasedLevels
public interface SpawnerCondition
An additive condition on the
SpawnInfo selection process. This occurs during
AbstractSpawner.fits(SpawnInfo, SpawnLocation) which occurs asynchronously.
Instances of this class should be put inside the AbstractSpawner.conditions list.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanfits(AbstractSpawner spawner, SpawnInfo spawnInfo, SpawnLocation spawnLocation) Returns whether or not thisSpawnInfoat thisSpawnLocationis acceptable.
-
Method Details
-
fits
Returns whether or not thisSpawnInfoat thisSpawnLocationis acceptable. This is performed async.
-