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 TypeMethodDescriptionboolean
fits
(AbstractSpawner spawner, SpawnInfo spawnInfo, SpawnLocation spawnLocation) Returns whether or not thisSpawnInfo
at thisSpawnLocation
is acceptable.
-
Method Details
-
fits
Returns whether or not thisSpawnInfo
at thisSpawnLocation
is acceptable. This is performed async.
-