Interface IEffect

All Known Subinterfaces:
IBeeEffect, ITreeEffect

public interface IEffect
Basic effect allele.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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.
  • Method Details

    • isCombinable

      boolean isCombinable()
      Returns:
      Whether this effect can work with another combinable effect on the same chromosome pair.
    • validateStorage

      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.
      Returns:
      IEffectData for the next cycle.