15class GeneticsComponent {
27 ::ll::TypedStorage<4, 4, int> mainAllele;
28 ::ll::TypedStorage<4, 4, int> hiddenAllele;
35 ::ll::TypedStorage<8, 24, ::std::vector<::GeneticsComponent::Gene>> mGenes;
36 ::ll::TypedStorage<8, 8, ::GeneticsDefinition const*> mGeneticsDescription;
37 ::ll::TypedStorage<8, 8, ::Random*> mRandom;
43 MCAPI GeneticsComponent();
45 MCAPI ::GeneticsComponent::Gene _crossParentGenes(
53 MCAPI
void buildDebugInfo(::std::string& out)
const;
55 MCAPI
void fireGeneEvents(
::Actor& owner)
const;
57 MCAPI
void initializeGenesFromParents(
::Actor& owner,
::Actor& parentalUnit1,
::Actor& parentalUnit2);
65 MCAPI static ::std::string
const& GENE_ARRAY();
67 MCAPI static ::std::string
const& HIDDEN_ALLELE();
69 MCAPI static ::std::string
const& MAIN_ALLELE();