Async logic framework, box2D dependencies
This commit is contained in:
13
core/src/mindustry/async/AsyncProcess.java
Normal file
13
core/src/mindustry/async/AsyncProcess.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package mindustry.async;
|
||||
|
||||
public interface AsyncProcess{
|
||||
|
||||
/** Synchronous. Called at the beginning of the main loop. */
|
||||
void begin();
|
||||
|
||||
/** Async. Called in a separate thread. */
|
||||
void process();
|
||||
|
||||
/** Sync. Called in the end of the main loop. */
|
||||
void end();
|
||||
}
|
||||
Reference in New Issue
Block a user