add on_update, on_render to docs & change entities tps to 20

This commit is contained in:
MihailRis
2024-08-01 16:04:27 +03:00
parent 3f67944cc2
commit f8907f7db1
10 changed files with 62 additions and 21 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ void LevelController::update(float delta, bool input, bool pause) {
blocks->update(delta);
player->update(delta, input, pause);
level->entities->updatePhysics(delta);
level->entities->update();
level->entities->update(delta);
}
level->entities->clean();
player->postUpdate(delta, input, pause);