Interface PluginTimeSource

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PluginTimeSource
A PluginTimeSource provides the current time in milliseconds.
  • Method Details

    • arc

      static PluginTimeSource arc()
      Returns a PluginTimeSource using Time.globalTime to provide the current time.
    • standard

      static PluginTimeSource standard()
      Returns a PluginTimeSource using System.currentTimeMillis() to provide the current time.
    • getCurrentTicks

      long getCurrentTicks()