Test with stuff + Forestry potential support
This commit is contained in:
parent
5b05cf651b
commit
bd26e441cb
174 changed files with 5602 additions and 0 deletions
25
BM_src/forestry/api/genetics/IGenome.java
Normal file
25
BM_src/forestry/api/genetics/IGenome.java
Normal file
|
@ -0,0 +1,25 @@
|
|||
package forestry.api.genetics;
|
||||
|
||||
import forestry.api.core.INBTTagable;
|
||||
|
||||
/**
|
||||
* Holds the {@link IChromosome}s which comprise the traits of a given individual.
|
||||
*
|
||||
* Only the default implementation is supported.
|
||||
*/
|
||||
public interface IGenome extends INBTTagable {
|
||||
|
||||
IAlleleSpecies getPrimary();
|
||||
|
||||
IAlleleSpecies getSecondary();
|
||||
|
||||
IChromosome[] getChromosomes();
|
||||
|
||||
IAllele getActiveAllele(int chromosome);
|
||||
|
||||
IAllele getInactiveAllele(int chromosome);
|
||||
|
||||
boolean isGeneticEqual(IGenome other);
|
||||
|
||||
ISpeciesRoot getSpeciesRoot();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue