bool onRunOneStep(int i) { var runOneStep = (60 / doingStep) * (currentStep.value); if (i < runOneStep) { return true; } else { return false; } }