/// <summary> /// /// </summary> private void Update() { //check all keypresses HandleKeyPress(); //stop updating after reaching layer count if (_stepCount < _layerCount) { // advance model _model.Step(); //_model.StepParallel(); // update cells in the current layer UpdateCells(); // update analysis manager _analyser.Update(); _stepCount++; } }