public interface IButterflyMutationFactory
| Modifier and Type | Method and Description |
|---|---|
IButterflyMutationBuilder |
createMutation(IAlleleButterflySpecies parentButterfly0,
IAlleleButterflySpecies parentButterfly1,
IAllele[] result,
int chance)
Creates a new butterfly mutation.
|
IButterflyMutationBuilder createMutation(IAlleleButterflySpecies parentButterfly0, IAlleleButterflySpecies parentButterfly1, IAllele[] result, int chance)
parentButterfly0 - A parent butterfly for this mutationparentButterfly1 - A parent butterfly for this mutationresult - The resulting alleles for this mutationchance - The chance that breeding the two parent butterfly's will result in this mutation