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 e5a90b1 commit 6e1a942
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 6e1a942

Please sign in to comment.