private void Workout(Trainee trainee) { trainee.GetReadyForWorkout(); Cursor<int> rounds = new Cursor<int>(level.rounds()); while (rounds.HasNext()) { trainee.GoThrough(circuit.Workout); rounds.Next(); if (rounds.HasNext()) { trainee.Break(); } } }
private void Workout(Trainee trainee) { trainee.GetReadyForWorkout(); Cursor <int> rounds = new Cursor <int>(level.rounds()); while (rounds.HasNext()) { trainee.GoThrough(circuit.Workout); rounds.Next(); if (rounds.HasNext()) { trainee.Break(); } } }
private void Warmup(Trainee trainee) { trainee.GetReadyForWarmup(); trainee.GoThrough(circuit.Warmup); }
private void Stretching(Trainee trainee) { trainee.GetReadyForStretching(); trainee.GoThrough(circuit.Stretching); trainee.CircuitCompleted(); }
public void Run(Trainee trainee) { Warmup(trainee); Workout(trainee); Stretching(trainee); }