This commit is contained in:
Anuken
2020-04-30 21:58:48 -04:00
parent 8de0ca7d6e
commit 273f4590df
9 changed files with 189 additions and 37 deletions

View File

@@ -2,7 +2,13 @@ package mindustry.async;
public interface AsyncProcess{
/** Synchronous. Called at the beginning of the main loop. */
/** Sync. Called when the world loads. */
void init();
/** Sync. Called when the world resets. */
void reset();
/** Sync. Called at the beginning of the main loop. */
void begin();
/** Async. Called in a separate thread. */