Class WarpCheckLoop

java.lang.Object
me.iron.WarpSpace.Mod.server.WarpCheckLoop

public class WarpCheckLoop
extends java.lang.Object
a loop that runs regularly and checks all loaded ships if they are in warp or not. passes the ships to the warpshipmanager
  • Constructor Summary

    Constructors 
    Constructor Description
    WarpCheckLoop()  
  • Method Summary

    Modifier and Type Method Description
    static void loop​(long frequency)
    loop that creates a starrunnable that checks the loaded segmentcontrollers every x seconds

    Methods inherited from class java.lang.Object

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

  • Method Details

    • loop

      public static void loop​(long frequency)
      loop that creates a starrunnable that checks the loaded segmentcontrollers every x seconds
      Parameters:
      frequency - amount of ticks between iterations. 25 ticks = 1 second