private void ProcessCommand(char command, IDrone drone) { string commandAsString = command.ToString(CultureInfo.InvariantCulture); if (this.IsLeftCommand(commandAsString)) { drone.Rotate(false); } if (this.IsRightCommand(commandAsString)) { drone.Rotate(true); } }