public abstract class AlleleEffectThrottled extends AlleleEffect
| Modifier | Constructor and Description |
|---|---|
protected |
AlleleEffectThrottled(java.lang.String name,
boolean isDominant,
int throttle,
boolean requiresWorking,
boolean isCombinable) |
| Modifier and Type | Method and Description |
|---|---|
IEffectData |
doEffect(IBeeGenome genome,
IEffectData storedData,
IBeeHousing housing)
Called by apiaries to cause an effect in the world.
|
boolean |
isCombinable() |
IEffectData |
validateStorage(IEffectData storedData)
Returns the passed data storage if it is valid for this effect or a new one if the passed storage object was invalid for this effect.
|
doFX, getBounding, getEntitiesInRange, getModifiedAreagetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominant, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominantprotected AlleleEffectThrottled(java.lang.String name,
boolean isDominant,
int throttle,
boolean requiresWorking,
boolean isCombinable)
public boolean isCombinable()
isCombinable in interface IAlleleEffectisCombinable in class AlleleEffectpublic IEffectData validateStorage(IEffectData storedData)
IAlleleEffectvalidateStorage in interface IAlleleEffectvalidateStorage in class AlleleEffectIEffectData for the next cycle.public final IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
IAlleleBeeEffectdoEffect in interface IAlleleBeeEffectdoEffect in class AlleleEffectgenome - Genome of the bee queen causing this effectstoredData - Object containing the stored effect data for the apiary/hive the bee is in.housing - IBeeHousing the bee currently resides in.