From c053b38c0363859db3b43f53853dbfaf466dc065 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Wed, 6 Oct 2021 11:37:48 +0200 Subject: [PATCH] Fix build --- lib/PacManAI.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/PacManAI.cpp b/lib/PacManAI.cpp index 41fd954..4688b15 100644 --- a/lib/PacManAI.cpp +++ b/lib/PacManAI.cpp @@ -16,21 +16,21 @@ Direction PacManAI::suggestedDirection() const { // This function is not yet implemented. // You will implement it as part of module 25. -GridPosition PacManAI::pelletClosestToPacman(GridPosition pacmanGridPosition, - std::vector & pellets) { +GridPosition PacManAI::pelletClosestToPacman(GridPosition, + std::vector &) { return {0, 0}; } // This function is not yet implemented. // You will implement it as part of module 25. -bool PacManAI::isValidMove(const Move & move) { +bool PacManAI::isValidMove(const Move &) { return false; } // This function is not yet implemented. // You will implement it as part of module 25. -Direction PacManAI::optimalDirection(const std::array & moves) { +Direction PacManAI::optimalDirection(const std::array &) { return Direction::NONE; }