Package mindustry.async
Class PhysicsProcess
java.lang.Object
mindustry.async.PhysicsProcess
- All Implemented Interfaces:
AsyncProcess
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mindustry.async.AsyncProcess
shouldProcess
-
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 interfaceAsyncProcess
-
process
public void process()Description copied from interface:AsyncProcess
Async. Called in a separate thread.- Specified by:
process
in interfaceAsyncProcess
-
end
public void end()Description copied from interface:AsyncProcess
Sync. Called in the end of the main loop.- Specified by:
end
in interfaceAsyncProcess
-
reset
public void reset()Description copied from interface:AsyncProcess
Sync. Called when the world resets.- Specified by:
reset
in interfaceAsyncProcess
-
init
public void init()Description copied from interface:AsyncProcess
Sync. Called when the world loads.- Specified by:
init
in interfaceAsyncProcess
-