gameWon method

bool gameWon ()

Returns true if the game is won, false otherwise

Implementation

bool gameWon() {
  return this.getDozer().score >= this.targetScore;
}