Class AccuracyDistribution

    • Constructor Summary

      Constructors 
      Constructor Description
      AccuracyDistribution​(double maxToAward)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Double apply​(Player player)  
      void updateScore​(IDHolder<?> holder, double accuracy)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • AccuracyDistribution

        public AccuracyDistribution​(double maxToAward)
    • Method Detail

      • updateScore

        public void updateScore​(IDHolder<?> holder,
                                double accuracy)
      • apply

        public java.lang.Double apply​(Player player)
        Specified by:
        apply in interface java.util.function.Function<Player<?>,​java.lang.Double>