public class DefaultBeeModifier extends java.lang.Object implements IBeeModifier
| Constructor and Description |
|---|
DefaultBeeModifier() |
| Modifier and Type | Method and Description |
|---|---|
float |
getFloweringModifier(IBeeGenome genome,
float currentModifier) |
float |
getGeneticDecay(IBeeGenome genome,
float currentModifier) |
float |
getLifespanModifier(IBeeGenome genome,
IBeeGenome mate,
float currentModifier) |
float |
getMutationModifier(IBeeGenome genome,
IBeeGenome mate,
float currentModifier) |
float |
getProductionModifier(IBeeGenome genome,
float currentModifier) |
float |
getTerritoryModifier(IBeeGenome genome,
float currentModifier) |
boolean |
isHellish() |
boolean |
isSealed() |
boolean |
isSelfLighted() |
boolean |
isSunlightSimulated() |
public float getTerritoryModifier(IBeeGenome genome, float currentModifier)
getTerritoryModifier in interface IBeeModifiergenome - Genome of the bee this modifier is called for.currentModifier - Current modifier.public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier)
getMutationModifier in interface IBeeModifiergenome - Genome of the bee this modifier is called for.mate - Genome of the bee mate this modifier is called for.currentModifier - Current modifier.public float getLifespanModifier(IBeeGenome genome, @Nullable IBeeGenome mate, float currentModifier)
getLifespanModifier in interface IBeeModifiergenome - Genome of the bee this modifier is called for.currentModifier - Current modifier.public float getProductionModifier(IBeeGenome genome, float currentModifier)
getProductionModifier in interface IBeeModifiergenome - Genome of the bee this modifier is called for.currentModifier - Current modifier.public float getFloweringModifier(IBeeGenome genome, float currentModifier)
getFloweringModifier in interface IBeeModifiergenome - Genome of the bee this modifier is called for.public float getGeneticDecay(IBeeGenome genome, float currentModifier)
getGeneticDecay in interface IBeeModifiergenome - Genome of the bee this modifier is called for.public boolean isSealed()
isSealed in interface IBeeModifierpublic boolean isSelfLighted()
isSelfLighted in interface IBeeModifierpublic boolean isSunlightSimulated()
isSunlightSimulated in interface IBeeModifierpublic boolean isHellish()
isHellish in interface IBeeModifier