Turning off AI for now.

This commit is contained in:
Ólafur Waage 2021-09-28 10:54:31 +02:00
parent 1eeca1b610
commit 1f4fb7c8a1

View file

@ -8,7 +8,7 @@ constexpr int POWER_PELLET_POINTS = 50;
void GameState::step(std::chrono::milliseconds delta) {
pacManAI.update(pacMan, pellets);
pacMan.update(delta, pacManAI.suggestedDirection());
pacMan.update(delta, inputState.direction());
if (isPacManDying()) {
handleDeathAnimation(delta);