public void CleanRoom() { while (!cleaning.IsComplete) { cleaning.ExecuteNextCommand(); } totalMoves = hardwareRobot.TotalMovements; @return.Execute(); }