diff --git a/demo/include/demo/verifier.hpp b/demo/include/demo/verifier.hpp index c14d3c17..9ae4353f 100644 --- a/demo/include/demo/verifier.hpp +++ b/demo/include/demo/verifier.hpp @@ -30,9 +30,7 @@ class Verifier { Move nextMove = Move{command.path.front()}; Position nextPosition = environmentModel_->pacmanPosition() + nextMove.deltaPosition; - if (environmentModel_->isPassableCell(nextPosition)) { - return VerificationResult{true}; - } + ///@todo Verify the next position is valid return VerificationResult{false}; }