            {
                energy -= 2;
                Debug.Log("Particle destroyed");
                int particleID = particles.IndexOf(particle);
                Destroy(particles[particleID].gameObject);
                particles.RemoveAt(particleID);
                size--;
                cellInfo.UpdateEnergy(energy);
                cellInfo.UpdateSize(size);
                cellInfo.AddTask(new Task(TaskObject.TaskType.destroyParticle, "0"));
                state = cellState.Waiting;
            }
        }
        else
        {