Use generics for Chromosome type, begin unifying code

This commit is contained in:
mezz committed 2016-02-27 00:14:22 -08:00
1 parent a8270ef365
commit 43e41034f6
217 files changed
+3148 -2417

No files matched your search

@@ -5,6 +5,8 @@
******************************************************************************/
package forestry.api.genetics;
import javax.annotation.Nonnull;
import forestry.api.core.INbtWritable;
/**
@@ -14,12 +16,16 @@ import forestry.api.core.INbtWritable;
*/
public interface IChromosome extends INbtWritable {
@Nonnull
IAllele getPrimaryAllele();
@Nonnull
IAllele getSecondaryAllele();
@Nonnull
IAllele getInactiveAllele();
@Nonnull
IAllele getActiveAllele();
}