Skip to content

Commit

Permalink
Remove implementation of verification
Browse files Browse the repository at this point in the history
  • Loading branch information
ll-nick authored and orzechow committed Nov 19, 2024
1 parent 4cb1a0c commit 00fc243
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions demo/include/demo/verifier.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}
Expand Down

0 comments on commit 00fc243

Please sign in to comment.