var x = new Gene("Hf","Henny feathering",false); var x1 = new Allele(x,"Hf"); var x2 = new Allele(x,"hf+"); x1.AlleleEffect = "Hennyfeather"; x1.AlleleOrder = 1; x2.IsWildtype=true; x2.AlleleOrder = 2; x.AddAllele(x1); x.AddAllele(x2); if(animalgenome.GetGeneNumber(x.GeneSymbol)<0) animalgenome.AddGene(x); animalgenome.SetDefaultGenotypes();
Select word or dot "." (or " ??? ") for intellisense. Use lower classnames (plus number) for your objects eg: var chicken7 = new Chicken();
Sire:
Dam:
Demo overview