public interface ISpawnerCondition
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.
Created by Hiroku
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. |
boolean fits(AbstractSpawner spawner, SpawnInfo spawnInfo, SpawnLocation spawnLocation)
SpawnInfo
at this SpawnLocation
is acceptable. This is performed async.