public void CellDied() { //All cells that get cut out from the center of the organism, die as well OrganismHealthCheck.KillDeatachedCells(cells); SetTotalEnergyStorage(); if (!OrganismHealthCheck.AreValidCellsAlive(cells)) { Die(); } }
public bool Alive() { return(OrganismHealthCheck.AreValidCellsAlive(cells)); }