Class Distraction

    • Method Detail

      • getDistraction

        public Double getDistraction​(Length distance)
        Returns the level of distraction at the given distance.
        Parameters:
        distance - Distance to distraction; negative when approaching
        Returns:
        Double; level of distraction (task-demand), or null if the distraction is no longer important