mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
move PlayerController to LevelScreen
This commit is contained in:
parent
9adaf6d527
commit
863146cf6b
7 changed files with 66 additions and 64 deletions
|
|
@ -37,7 +37,7 @@ void TestMainloop::run() {
|
|||
if (controller) {
|
||||
float delta = time.getDelta();
|
||||
controller->getLevel()->getWorld()->updateTimers(delta);
|
||||
controller->update(glm::min(delta, 0.2f), false, false);
|
||||
controller->update(glm::min(delta, 0.2f), false);
|
||||
}
|
||||
}
|
||||
logger.info() << "test finished";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue