Enemy swarm movement

This commit is contained in:
2024-02-12 14:14:23 +01:00
parent c5b6dc0501
commit e69fdeed1f
15 changed files with 402 additions and 24 deletions

View File

@@ -480,7 +480,7 @@ void update(float dt, void *userData) {
break;
}
updateWave(&game->waveInfo, dt);
updateWave(&game->waveInfo, game, dt);
SoundState *soundState = ecs_singleton_get_mut(ECS, SoundState);
soundsUpdate(soundState, getCameraBounds(game->camera));