public void Change(IReturnAlgorithm returnAlgorithm, IRobotCleaner robot) { returnAlgorithm.Step = new FifthStep(); robot.TurnRight(); robot.Back(); robot.TurnRight(); robot.Advance(); }
public void Execute(IRobotCleaner robotCleaner) { robotCleaner.Back(); }