Package mindustry.async
Class PhysicsProcess
java.lang.Object
mindustry.async.PhysicsProcess
- All Implemented Interfaces:
AsyncProcess
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mindustry.async.AsyncProcess
shouldProcess
-
Field Details
-
layers
public static final int layers- See Also:
-
layerGround
public static final int layerGround- See Also:
-
layerLegs
public static final int layerLegs- See Also:
-
layerFlying
public static final int layerFlying- See Also:
-
layerUnderwater
public static final int layerUnderwater- See Also:
-
-
Constructor Details
-
PhysicsProcess
public PhysicsProcess()
-
-
Method Details
-
begin
public void begin()Description copied from interface:AsyncProcessSync. Called at the beginning of the main loop.- Specified by:
beginin interfaceAsyncProcess
-
process
public void process()Description copied from interface:AsyncProcessAsync. Called in a separate thread.- Specified by:
processin interfaceAsyncProcess
-
end
public void end()Description copied from interface:AsyncProcessSync. Called in the end of the main loop.- Specified by:
endin interfaceAsyncProcess
-
reset
public void reset()Description copied from interface:AsyncProcessSync. Called when the world resets.- Specified by:
resetin interfaceAsyncProcess
-
init
public void init()Description copied from interface:AsyncProcessSync. Called when the world loads.- Specified by:
initin interfaceAsyncProcess
-