public void split(int x, int y) { Organism next = new Organism(species, sightDistance, ferocity, maxValue, speed, currValue / 2); currValue -= currValue / 2; next.posX = x; next.posY = y; next.mutate(); this.mutate(); Simulation.simulationGrid.Add(next.key(), next); }