Interface ServiceManager.Service

Enclosing class:
ServiceManager

public static interface ServiceManager.Service
Interface for services that are updated every loop.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Logic to be executed every loop.
  • Method Details

    • update

      void update()
      Logic to be executed every loop. Since this runs in parallel, ensure this method is thread-safe!