Class Clock.ConditionalExecutor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean getFinished()
      • Methods inherited from class org.polyfrost.polyui.utils.Clock.Executor

        getExecuteEveryNanos, tick
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Clock.ConditionalExecutor

        Clock.ConditionalExecutor(Long executeEveryNanos, Function0<Boolean> condition, Function0<Unit> func)