Revert "Use generics for Chromosome type, begin unifying code"

This reverts commit 43e41034f6.

Conflicts:
	src/main/java/forestry/api/arboriculture/IAlleleTreeSpecies.java
	src/main/java/forestry/api/genetics/IAlleleSpeciesCustom.java
	src/main/java/forestry/core/proxy/ProxyRenderClient.java
This commit is contained in:
mezz committed 2016-03-03 20:50:38 -08:00
1 parent 87f2dc0a0a
commit efcab41e04
217 files changed
+2408 -3136

No files matched your search

@@ -15,7 +15,7 @@ import forestry.api.core.INbtWritable;
*
* Only the default implementation is supported.
*/
public interface IIndividual<C extends IChromosomeType> extends INbtWritable {
public interface IIndividual extends INbtWritable {
String getIdent();
@@ -36,20 +36,20 @@ public interface IIndividual<C extends IChromosomeType> extends INbtWritable {
boolean isSecret();
@Nonnull
IGenome<C> getGenome();
IGenome getGenome();
/**
* Check whether the genetic makeup of two IIndividuals is identical. Ignores additional data like generations, irregular mating, etc..
* @param other
* @return true if the given other IIndividual has the amount of chromosomes and their alleles are identical.
*/
boolean isGeneticEqual(IIndividual<C> other);
boolean isGeneticEqual(IIndividual other);
/**
* @return A deep copy of this individual.
*/
IIndividual<C> copy();
IIndividual copy();
boolean isPureBred(C chromosomeType);
boolean isPureBred(IChromosomeType chromosomeType);
}