Async logic framework, box2D dependencies

This commit is contained in:
Anuken
2020-04-30 20:03:11 -04:00
parent 626a06ca00
commit 8de0ca7d6e
8 changed files with 101 additions and 1 deletions

View File

@@ -132,7 +132,11 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
app.post(() -> app.post(() -> app.post(() -> app.post(() -> super.resize(graphics.getWidth(), graphics.getHeight())))));
}
}else{
asyncLogic.begin();
super.update();
asyncLogic.end();
}
int targetfps = Core.settings.getInt("fpscap", 120);