MCPcopy Create free account
hub / github.com/chrxh/alien / hasGenome

Method hasGenome

source/EngineInterface/Descriptions.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60bool CellDescription::hasGenome() const
61{
62 auto cellFunctionType = getCellFunctionType();
63 if (cellFunctionType == CellFunction_Constructor || cellFunctionType == CellFunction_Injector) {
64 return true;
65 }
66 return false;
67}
68
69std::vector<uint8_t>& CellDescription::getGenomeRef()
70{

Callers 2

colorizeGenomeNodesFunction · 0.45
randomizeGenomeColorsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected