Class PhysicsProcess

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

public class PhysicsProcess extends Object implements AsyncProcess
  • Constructor Details

    • PhysicsProcess

      public PhysicsProcess()
  • Method Details

    • begin

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

      public void process()
      Description copied from interface: AsyncProcess
      Async. Called in a separate thread.
      Specified by:
      process in interface AsyncProcess
    • end

      public void end()
      Description copied from interface: AsyncProcess
      Sync. Called in the end of the main loop.
      Specified by:
      end 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