Package mindustry.async
Interface AsyncProcess
- All Known Implementing Classes:
PhysicsProcess
public interface AsyncProcess
-
Method Summary
-
Method Details
-
init
default void init()Sync. Called when the world loads. -
reset
default void reset()Sync. Called when the world resets. -
begin
default void begin()Sync. Called at the beginning of the main loop. -
process
default void process()Async. Called in a separate thread. -
end
default void end()Sync. Called in the end of the main loop. -
shouldProcess
default boolean shouldProcess()
-