gameLost method

bool gameLost ()

Returns true if the game is lost, false otherwise

Implementation

bool gameLost() {
  return this.timeLimit <= 0 || this.getDozer().score <= 0;
}