Package forestry.api.lepidopterology

Examples of forestry.api.lepidopterology.IAlleleButterflySpecies


    this.genome = genome;
  }

  @Override
  public void addTooltip(List<String> list) {
    IAlleleButterflySpecies primary = genome.getPrimary();
    IAlleleButterflySpecies secondary = genome.getSecondary();
    if (!isPureBred(EnumButterflyChromosome.SPECIES.ordinal()))
      list.add("\u00A79" + StringUtil.localize("butterflies.hybrid").replaceAll("%PRIMARY",primary.getName()).replaceAll("%SECONDARY",secondary.getName()));

    if(getMate() != null)
      list.add("\u00A7c" + StringUtil.localize("gui.fecundated").toUpperCase(Locale.ENGLISH));
    list.add("\u00A7e" + genome.getActiveAllele(EnumButterflyChromosome.SIZE.ordinal()).getName());
    list.add("\u00A7f" + genome.getActiveAllele(EnumButterflyChromosome.SPEED.ordinal()).getName() + " " + StringUtil.localize("gui.flyer"));
View Full Code Here

TOP

Related Classes of forestry.api.lepidopterology.IAlleleButterflySpecies

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.