Class PhysicsProcess

java.lang.Object
mindustry.async.PhysicsProcess
All Implemented Interfaces:
AsyncProcess

public class PhysicsProcess extends Object implements AsyncProcess
  • Field Details

  • Constructor Details

    • PhysicsProcess

      public PhysicsProcess()
  • Method Details

    • add

      public void add(mindustry.gen.Unit unit)
    • begin

      public void begin()
      Description copied from interface: AsyncProcess
      Sync. Called at the beginning of the main loop.
      Specified by:
      begin in interface AsyncProcess
    • shouldProcess

      public boolean shouldProcess()
      Specified by:
      shouldProcess in interface AsyncProcess
    • reset

      public void reset()
      Description copied from interface: AsyncProcess
      Sync. Called when the world resets.
      Specified by:
      reset in interface AsyncProcess
    • init

      public void init()
      Description copied from interface: AsyncProcess
      Sync. Called when the world loads.
      Specified by:
      init in interface AsyncProcess