Digger.java
public boolean hasWon()
    {
        if(points >= WINNING_POINTS) {
            return true;
        }
        else return false;
    }
/**
     * Has the elephant reached the exit yet.
     * @return true if the elephant has reached the exit.
     */
Has the elephant reached the exit yet.
@return true if the elephant has reached the exit.
Has the elephant reached the exit yet . @return true if the elephant has reached the exit .
public boolean hasWon()
    {
        if(points >= WINNING_POINTS) {
            return true;
        }
        else return false;
    }
public boolean hasWon ( ) { if ( points >= WINNING_POINTS ) { return true ; } else return false ; }
Has the elephant reached the exit yet.
Has the elephant reached the exit yet .