mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 03:25:07 +00:00
20 lines
815 B
Java
20 lines
815 B
Java
package binnie.botany.genetics;
|
|
|
|
import binnie.botany.api.*;
|
|
import forestry.api.genetics.IAllele;
|
|
import forestry.api.genetics.IClassification;
|
|
|
|
public class FlowerFactory implements IFlowerFactory {
|
|
|
|
@Override
|
|
public IAlleleFlowerSpeciesBuilder createSpecies(String uid, String unlocalizedName, String authority, String unlocalizedDescription, boolean isDominant, IClassification branch, String binomial, IFlowerType flowerType) {
|
|
return new AlleleFlowerSpecies(uid, unlocalizedName, authority, unlocalizedDescription, isDominant, branch, binomial, flowerType);
|
|
}
|
|
|
|
@Override
|
|
public IFlowerMutationBuilder createMutation(IAlleleFlowerSpecies parentFlower0, IAlleleFlowerSpecies parentFlower1, IAllele[] result, int chance) {
|
|
return new FlowerMutation(parentFlower0, parentFlower1, result, chance);
|
|
}
|
|
|
|
}
|