public void update(){
        if(Gdx.input.isTouched()){
            cam.unproject(touchPoint.set(Gdx.input.getX(), Gdx.input.getY(), 0));

            if(menu.check(touchPoint) == NEW_GAME) {
                game.setScreen(game_screen);
            } else if(menu.check(touchPoint) == SETTINGS) {
                game.setScreen(settings_screen);
            } else if(menu.check(touchPoint) == EXIT_GAME){
                quit();
            }
        }
        if(Gdx.input.isKeyJustPressed(Input.Keys.ESCAPE)){
            quit();
        }
    }