src/Highscore.java
/**
     * Update that is called each frame
     */
Update that is called each frame
Update that is called each frame
public void update(){
        int mx = MouseInput.getX(game);
        int my = MouseInput.getY(game);
        if(mx >= 140 && mx <= 350 && my >= 555 && my <= 580){
            h2 = true;
        }else if(mx >= 522 && mx <= 595 && my >= 556 && my <= 578){
            h3 = true;
        }else{
            h2 = false;
            h3 = false;
        }
    }
public void update ( ) { int mx = MouseInput . getX ( game ) ; int my = MouseInput . getY ( game ) ; if ( mx >= 140 && mx <= 350 && my >= 555 && my <= 580 ) { h2 = true ; } else if ( mx >= 522 && mx <= 595 && my >= 556 && my <= 578 ) { h3 = true ; } else { h2 = false ; h3 = false ; } }
Update that is called each frame
Update that is called each frame