mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Async logic framework, box2D dependencies
This commit is contained in:
parent
626a06ca00
commit
8de0ca7d6e
8 changed files with 101 additions and 1 deletions
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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue