Package forestry.core.genetics

Examples of forestry.core.genetics.EffectData


  @Override
  public IEffectData validateStorage(IEffectData storedData) {
    if (storedData instanceof EffectData)
      return storedData;

    return new EffectData(1, 0);
  }
View Full Code Here


  }

  @Override
  public IEffectData validateStorage(IEffectData storedData) {
    if (!(storedData instanceof EffectData))
      return new EffectData(3, 0);

    if (((EffectData) storedData).getIntSize() < 3)
      return new EffectData(3, 0);

    return storedData;
  }
View Full Code Here

TOP

Related Classes of forestry.core.genetics.EffectData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.