public static void SubtractEnergyForGrowth(int cellEnergy, OrganismEnergy organismEnergy)
 {
     if (organismEnergy.EggEnergy < cellEnergy)
     {
         organismEnergy.Value    -= cellEnergy - organismEnergy.EggEnergy;
         organismEnergy.EggEnergy = 0;
     }
     else
     {
         organismEnergy.EggEnergy -= cellEnergy;
     }
 }
    public static CellAttributes CreateCell(OrganismEnergy organismEnergy, GameObject type, Vector3 relativePosition, Quaternion angle, int number, bool alive)
    {
        CellAttributes c = new CellAttributes();

        c.energy           = organismEnergy;
        c.number           = number;
        c.name             = number.ToString();
        c.relativePosition = relativePosition;
        c.type             = type;
        c.angle            = angle;
        c.alive            = alive;

        return(c);
    }