@Override
    public void mouseMoved(MouseEvent e) {
        int tx = mainMenuObj.getTx();
        int ty = mainMenuObj.getTy();
        int th = mainMenuObj.getTh();
        int tw = mainMenuObj.getTw();

        int gx = mainMenuObj.getGx();
        int gy = mainMenuObj.getGy();
        int gh = mainMenuObj.getGh();
        int gw = mainMenuObj.getGw();

        if (e.getX() > tx && e.getX() < tx + tw) {
            if (e.getY() > ty && e.getY() < ty + th) {
                hoverLeft = true;
            }
        }

        if (e.getX() > gx && e.getX() < gx + gw) {
            if (e.getY() > gy && e.getY() < gy + gh) {
                hoverLeft = false;
            }
        }
    } // mouse move