mockup of utility functions

This commit is contained in:
h4570
2022-08-14 21:07:16 +02:00
parent d0085e834e
commit 74c684fff8
8 changed files with 105 additions and 5 deletions
+1 -1
View File
@@ -65,8 +65,8 @@ void GameState::update() {
fpsChecker = 0;
}
skybox->update(player->getPosition());
player->update(terrain->heightmap);
skybox->update(player->getPosition());
auto shootAction = player->getShootAction();
enemyManager->update(terrain->heightmap, player->getPosition(), shootAction);